We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25bfcd commit df381e9Copy full SHA for df381e9
CHANGELOG.md
@@ -1,5 +1,6 @@
1
## 0.2.1 2023-08-
2
3
+* [Plugin API add getOpenedTab method](https://github.com/siyuan-note/siyuan/issues/9002)
4
* [Plugin API custom.fn => custom.id in openTab](https://github.com/siyuan-note/siyuan/issues/8944)
5
6
## 0.2.0 2023-08-15
src/index.ts
@@ -350,6 +350,12 @@ export default class PluginSample extends Plugin {
350
});
351
}
352
353
+ menu.addItem({
354
+ label: "Get Opened Custom Tab",
355
+ click: () => {
356
+ console.log(this.getOpenedTab());
357
+ }
358
+ });
359
360
menu.addItem({
361
icon: "iconScrollHoriz",
0 commit comments