Skip to content

Commit 7804462

Browse files
committed
1 parent d241bed commit 7804462

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGELOG.md

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

33
## 0.3.2 2024-01
44

5+
* [Add plugin event bus `open-menu-inbox`](https://github.com/siyuan-note/siyuan/pull/9967)
6+
57
## 0.3.1 2023-12-06
68

79
* [Support `Dock Plugin` and `Command Palette` on mobile](https://github.com/siyuan-note/siyuan/issues/9926)

src/index.ts

+12
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,18 @@ export default class PluginSample extends Plugin {
643643
click: () => {
644644
this.eventBus.off("open-menu-breadcrumbmore", this.eventBusLog);
645645
}
646+
}, {
647+
icon: "iconSelect",
648+
label: "On open-menu-inbox",
649+
click: () => {
650+
this.eventBus.on("open-menu-inbox", this.eventBusLog);
651+
}
652+
}, {
653+
icon: "iconClose",
654+
label: "Off open-menu-inbox",
655+
click: () => {
656+
this.eventBus.off("open-menu-inbox", this.eventBusLog);
657+
}
646658
}, {
647659
icon: "iconSelect",
648660
label: "On input-search",

0 commit comments

Comments
 (0)