update to v0.1.12
This commit is contained in:
parent
014f906263
commit
4fc8ef7afc
4 changed files with 24 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
## 0.1.12 2023-08-01
|
||||
|
||||
* Upgrade siyuan to 0.7.9
|
||||
|
||||
## 0.1.11
|
||||
|
||||
* [Add `input-search` event bus to plugins](https://github.com/siyuan-note/siyuan/issues/8725)
|
||||
|
||||
|
||||
## 0.1.10
|
||||
|
||||
* [Add `bind this` example for eventBus in plugins](https://github.com/siyuan-note/siyuan/issues/8668)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "plugin-sample-vite-svelte",
|
||||
"version": "0.1.10",
|
||||
"version": "0.1.12",
|
||||
"type": "module",
|
||||
"description": "",
|
||||
"repository": "",
|
||||
|
@ -22,7 +22,7 @@
|
|||
"minimist": "^1.2.8",
|
||||
"rollup-plugin-livereload": "^2.0.5",
|
||||
"sass": "^1.62.1",
|
||||
"siyuan": "0.7.7",
|
||||
"siyuan": "0.7.9",
|
||||
"svelte": "^3.57.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.0.4",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "plugin-sample-vite-svelte",
|
||||
"author": "frostime",
|
||||
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
||||
"version": "0.1.8",
|
||||
"version": "0.1.12",
|
||||
"minAppVersion": "2.9.0",
|
||||
"backends": ["all"],
|
||||
"frontends": ["all"],
|
||||
|
|
12
src/index.ts
12
src/index.ts
|
@ -524,6 +524,18 @@ export default class PluginSample extends Plugin {
|
|||
click: () => {
|
||||
this.eventBus.off("open-menu-breadcrumbmore", this.eventBusLog);
|
||||
}
|
||||
}, {
|
||||
icon: "iconSelect",
|
||||
label: "On input-search",
|
||||
click: () => {
|
||||
this.eventBus.on("input-search", this.eventBusLog);
|
||||
}
|
||||
}, {
|
||||
icon: "iconClose",
|
||||
label: "Off input-search",
|
||||
click: () => {
|
||||
this.eventBus.off("input-search", this.eventBusLog);
|
||||
}
|
||||
}]
|
||||
});
|
||||
menu.addSeparator();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue