siyuan 0.7.5 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/siyuan.d.ts +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.7.7
|
|
4
|
+
|
|
5
|
+
* [Add `open-menu-breadcrumbmore` event bus to plugins](https://github.com/siyuan-note/siyuan/issues/8666)
|
|
6
|
+
|
|
7
|
+
## v0.7.6
|
|
8
|
+
|
|
9
|
+
* [Add plugin name to command palette](https://github.com/siyuan-note/siyuan/issues/8644)
|
|
10
|
+
* [Add `open-menu-xxx` event bus for plugins](https://github.com/siyuan-note/siyuan/issues/8617)
|
|
11
|
+
|
|
3
12
|
## v0.7.5
|
|
4
13
|
|
|
5
14
|
* [Add protyleSlash to the plugin](https://github.com/siyuan-note/siyuan/issues/8599)
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
type TEventBus = "ws-main" |
|
|
2
|
-
"click-
|
|
1
|
+
type TEventBus = "ws-main" |
|
|
2
|
+
"click-blockicon" | "click-editorcontent" | "click-pdf" | "click-editortitleicon" |
|
|
3
|
+
"open-noneditableblock" |
|
|
4
|
+
"open-menu-blockref" | "open-menu-fileannotationref" | "open-menu-tag" | "open-menu-link" | "open-menu-image" |
|
|
5
|
+
"open-menu-av" | "open-menu-content" |
|
|
6
|
+
"open-menu-breadcrumbmore" |
|
|
7
|
+
"loaded-protyle"
|
|
3
8
|
|
|
4
9
|
type TCardType = "doc" | "notebook" | "all"
|
|
5
10
|
|
|
@@ -221,6 +226,7 @@ export abstract class Plugin {
|
|
|
221
226
|
eventBus: EventBus;
|
|
222
227
|
i18n: I18N;
|
|
223
228
|
data: any;
|
|
229
|
+
displayName: string;
|
|
224
230
|
name: string;
|
|
225
231
|
app: App;
|
|
226
232
|
commands: ICommandOption[];
|