fix: add is-loading class to Notice

This commit is contained in:
@gapmiss 2026-07-11 16:16:37 -05:00
parent cc179918a8
commit 1c6cfefbbf

View file

@ -64,6 +64,7 @@ export default class SubstackClipperPlugin extends Plugin {
private async clipPost(url: string, openAfterClip: boolean): Promise<void> {
const notice = new Notice('Saving...', 0);
notice.containerEl.addClass("is-loading");
try {
const { username, slug, domain } = parseUrl(url);