File tree 4 files changed +24
-3
lines changed
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
+
1
10
## 0.1.10
2
11
3
12
* [ 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 1
1
{
2
2
"name" : " plugin-sample-vite-svelte" ,
3
- "version" : " 0.1.10 " ,
3
+ "version" : " 0.1.12 " ,
4
4
"type" : " module" ,
5
5
"description" : " " ,
6
6
"repository" : " " ,
22
22
"minimist" : " ^1.2.8" ,
23
23
"rollup-plugin-livereload" : " ^2.0.5" ,
24
24
"sass" : " ^1.62.1" ,
25
- "siyuan" : " 0.7.7 " ,
25
+ "siyuan" : " 0.7.9 " ,
26
26
"svelte" : " ^3.57.0" ,
27
27
"ts-node" : " ^10.9.1" ,
28
28
"typescript" : " ^5.0.4" ,
Original file line number Diff line number Diff line change 2
2
"name" : " plugin-sample-vite-svelte" ,
3
3
"author" : " frostime" ,
4
4
"url" : " https://github.com/siyuan-note/plugin-sample-vite-svelte" ,
5
- "version" : " 0.1.8 " ,
5
+ "version" : " 0.1.12 " ,
6
6
"minAppVersion" : " 2.9.0" ,
7
7
"backends" : [" all" ],
8
8
"frontends" : [" all" ],
Original file line number Diff line number Diff line change @@ -524,6 +524,18 @@ export default class PluginSample extends Plugin {
524
524
click : ( ) => {
525
525
this . eventBus . off ( "open-menu-breadcrumbmore" , this . eventBusLog ) ;
526
526
}
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
+ }
527
539
} ]
528
540
} ) ;
529
541
menu . addSeparator ( ) ;
You can’t perform that action at this time.
0 commit comments