File tree Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.1.12 2023-08-01
2+
3+ * Upgrade siyuan to 0.7.9
4+
5+ ## 0.1.11
6+
7+ * [ Add ` input-search ` event bus to plugins] ( https://github.com/siyuan-note/siyuan/issues/8725 )
8+
9+
110## 0.1.10
211
312* [ Add ` bind this ` example for eventBus in plugins] ( https://github.com/siyuan-note/siyuan/issues/8668 )
Original file line number Diff line number Diff line change 11{
22 "name" : " plugin-sample-vite-svelte" ,
3- "version" : " 0.1.10 " ,
3+ "version" : " 0.1.12 " ,
44 "type" : " module" ,
55 "description" : " " ,
66 "repository" : " " ,
2222 "minimist" : " ^1.2.8" ,
2323 "rollup-plugin-livereload" : " ^2.0.5" ,
2424 "sass" : " ^1.62.1" ,
25- "siyuan" : " 0.7.7 " ,
25+ "siyuan" : " 0.7.9 " ,
2626 "svelte" : " ^3.57.0" ,
2727 "ts-node" : " ^10.9.1" ,
2828 "typescript" : " ^5.0.4" ,
Original file line number Diff line number Diff line change 22 "name" : " plugin-sample-vite-svelte" ,
33 "author" : " frostime" ,
44 "url" : " https://github.com/siyuan-note/plugin-sample-vite-svelte" ,
5- "version" : " 0.1.8 " ,
5+ "version" : " 0.1.12 " ,
66 "minAppVersion" : " 2.9.0" ,
77 "backends" : [" all" ],
88 "frontends" : [" all" ],
Original file line number Diff line number Diff line change @@ -524,6 +524,18 @@ export default class PluginSample extends Plugin {
524524 click : ( ) => {
525525 this . eventBus . off ( "open-menu-breadcrumbmore" , this . eventBusLog ) ;
526526 }
527+ } , {
528+ icon : "iconSelect" ,
529+ label : "On input-search" ,
530+ click : ( ) => {
531+ this . eventBus . on ( "input-search" , this . eventBusLog ) ;
532+ }
533+ } , {
534+ icon : "iconClose" ,
535+ label : "Off input-search" ,
536+ click : ( ) => {
537+ this . eventBus . off ( "input-search" , this . eventBusLog ) ;
538+ }
527539 } ]
528540 } ) ;
529541 menu . addSeparator ( ) ;
You can’t perform that action at this time.
0 commit comments