siyuan 0.8.0 → 0.8.1
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 +7 -0
- package/package.json +1 -1
- package/siyuan.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.2 2023-08
|
|
4
|
+
|
|
5
|
+
## 0.8.1 2023-08-21
|
|
6
|
+
|
|
7
|
+
* [Plugin API add getOpenedTab method](https://github.com/siyuan-note/siyuan/issues/9002)
|
|
8
|
+
* [Plugin API custom.fn => custom.id in openTab](https://github.com/siyuan-note/siyuan/issues/8944)
|
|
9
|
+
|
|
3
10
|
## 0.8.0 2023-08-15
|
|
4
11
|
|
|
5
12
|
* [Add plugin event bus `open-siyuan-url-plugin` and `open-siyuan-url-block`](https://github.com/siyuan-note/siyuan/pull/8927)
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -197,7 +197,7 @@ export function openTab(options: {
|
|
|
197
197
|
title: string,
|
|
198
198
|
icon: string,
|
|
199
199
|
data?: any
|
|
200
|
-
|
|
200
|
+
id: string,
|
|
201
201
|
}
|
|
202
202
|
position?: "right" | "bottom",
|
|
203
203
|
keepCursor?: boolean // 是否跳转到新 tab 上
|
|
@@ -282,6 +282,8 @@ export abstract class Plugin {
|
|
|
282
282
|
|
|
283
283
|
addIcons(svg: string): void;
|
|
284
284
|
|
|
285
|
+
getOpenedTab(): { [key: string]: IModel[] } ;
|
|
286
|
+
|
|
285
287
|
/**
|
|
286
288
|
* Must be executed before the synchronous function.
|
|
287
289
|
*/
|