Skip to content

Commit

Permalink
🐛 css支持设置为空
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Dec 1, 2024
1 parent e09ccc3 commit 4e4c297
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,11 +578,8 @@ export default class PluginFootnote extends Plugin {
description: this.i18n.settings.css.description,
action: {
callback: () => {
console.log("CSS updated");
const newCSS = this.settingUtils.take('css');
if (newCSS) {
this.updateCSS(newCSS);
}
this.updateCSS(newCSS);
}
}
});
Expand Down

0 comments on commit 4e4c297

Please sign in to comment.