🚀 update
This commit is contained in:
parent
c33a63aa8f
commit
e48a9abbc9
4 changed files with 35 additions and 4 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -1,6 +1,24 @@
|
|||
# Changelog
|
||||
|
||||
## 0.3.2 2024-01
|
||||
## 0.3.5 2024-03
|
||||
|
||||
## 0.3.4 2024-02-20
|
||||
|
||||
* [Add plugin event bus `click-flashcard-action`](https://github.com/siyuan-note/siyuan/issues/10318)
|
||||
|
||||
## 0.3.3 2024-01-24
|
||||
|
||||
* Update dock icon class
|
||||
|
||||
## 0.3.2 2024-01-09
|
||||
|
||||
* [Add plugin `protyleOptions`](https://github.com/siyuan-note/siyuan/issues/10090)
|
||||
* [Add plugin api `uninstall`](https://github.com/siyuan-note/siyuan/issues/10063)
|
||||
* [Add plugin method `updateCards`](https://github.com/siyuan-note/siyuan/issues/10065)
|
||||
* [Add plugin function `lockScreen`](https://github.com/siyuan-note/siyuan/issues/10063)
|
||||
* [Add plugin event bus `lock-screen`](https://github.com/siyuan-note/siyuan/pull/9967)
|
||||
* [Add plugin event bus `open-menu-inbox`](https://github.com/siyuan-note/siyuan/pull/9967)
|
||||
|
||||
|
||||
## 0.3.1 2023-12-06
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"minimist": "^1.2.8",
|
||||
"rollup-plugin-livereload": "^2.0.5",
|
||||
"sass": "^1.63.3",
|
||||
"siyuan": "0.9.2",
|
||||
"siyuan": "0.9.4",
|
||||
"svelte": "^3.59.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.1.3",
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"name": "plugin-sample-vite-svelte",
|
||||
"author": "frostime",
|
||||
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
||||
"version": "0.3.2",
|
||||
"minAppVersion": "2.12.1",
|
||||
"version": "0.3.4",
|
||||
"minAppVersion": "3.0.0",
|
||||
"backends": [
|
||||
"windows",
|
||||
"linux",
|
||||
|
|
13
src/index.ts
13
src/index.ts
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue