Skip to content

Commit 13fbb16

Browse files
committed
1 parent 4835cff commit 13fbb16

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 0.2.6 2023-10
44

5+
* [Deprecated `loaded-protyle` use `loaded-protyle-static` instead](https://github.com/siyuan-note/siyuan/issues/9468)
6+
57
## 0.2.5 2023-10-10
68

79
* [Add plugin event bus `open-menu-doctree`](https://github.com/siyuan-note/siyuan/issues/9351)

src/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -457,15 +457,15 @@ export default class PluginSample extends Plugin {
457457
}
458458
}, {
459459
icon: "iconSelect",
460-
label: "On loaded-protyle",
460+
label: "On loaded-protyle-static",
461461
click: () => {
462-
this.eventBus.on("loaded-protyle", this.eventBusLog);
462+
this.eventBus.on("loaded-protyle-static", this.eventBusLog);
463463
}
464464
}, {
465465
icon: "iconClose",
466-
label: "Off loaded-protyle",
466+
label: "Off loaded-protyle-static",
467467
click: () => {
468-
this.eventBus.off("loaded-protyle", this.eventBusLog);
468+
this.eventBus.off("loaded-protyle-static", this.eventBusLog);
469469
}
470470
}, {
471471
icon: "iconSelect",

0 commit comments

Comments
 (0)