File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 22
33## 0.3.4 2024-02
44
5+ * [ Add plugin event bus ` click-flashcard-action ` ] ( https://github.com/siyuan-note/siyuan/issues/10318 )
6+
57## 0.3.3 2024-01-24
68
79* Update dock icon class
Original file line number Diff line number Diff line change @@ -534,6 +534,18 @@ export default class PluginSample extends Plugin {
534534 click : ( ) => {
535535 this . eventBus . off ( "click-editortitleicon" , this . eventBusLog ) ;
536536 }
537+ } , {
538+ icon : "iconSelect" ,
539+ label : "On click-flashcard-action" ,
540+ click : ( ) => {
541+ this . eventBus . on ( "click-flashcard-action" , this . eventBusLog ) ;
542+ }
543+ } , {
544+ icon : "iconClose" ,
545+ label : "Off click-flashcard-action" ,
546+ click : ( ) => {
547+ this . eventBus . off ( "click-flashcard-action" , this . eventBusLog ) ;
548+ }
537549 } , {
538550 icon : "iconSelect" ,
539551 label : "On open-noneditableblock" ,
You can’t perform that action at this time.
0 commit comments