🚀 update

This commit is contained in:
frostime 2024-03-03 17:37:02 +08:00
parent c33a63aa8f
commit e48a9abbc9
4 changed files with 35 additions and 4 deletions

View file

@ -120,6 +120,7 @@ export default class PluginSample extends Plugin {
size: { width: 200, height: 0 },
icon: "iconSaving",
title: "Custom Dock",
hotkey: "⌥⌘W",
},
data: {
text: "This is my custom dock"
@ -592,6 +593,18 @@ export default class PluginSample extends Plugin {
click: () => {
this.eventBus.off("click-editortitleicon", this.eventBusLog);
}
}, {
icon: "iconSelect",
label: "On click-flashcard-action",
click: () => {
this.eventBus.on("click-flashcard-action", this.eventBusLog);
}
}, {
icon: "iconClose",
label: "Off click-flashcard-action",
click: () => {
this.eventBus.off("click-flashcard-action", this.eventBusLog);
}
}, {
icon: "iconSelect",
label: "On open-noneditableblock",