Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Aug 18, 2023
1 parent df19904 commit d631abe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.8.1 2023-08

* [Plugin API custom.fn => custom.id in openTab](https://github.com/siyuan-note/siyuan/issues/8944)

## 0.8.0 2023-08-15

* [Add plugin event bus `open-siyuan-url-plugin` and `open-siyuan-url-block`](https://github.com/siyuan-note/siyuan/pull/8927)
Expand Down
2 changes: 1 addition & 1 deletion siyuan.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export function openTab(options: {
title: string,
icon: string,
data?: any
fn?: () => IModel,
id: string,

This comment has been minimized.

Copy link
@Zuoqiu-Yingyi

Zuoqiu-Yingyi Aug 19, 2023

Contributor

这里的 id 从哪里获得❓

哦哦, plugin.name + tab.type 拼接成的

}
position?: "right" | "bottom",
keepCursor?: boolean // 是否跳转到新 tab 上
Expand Down

0 comments on commit d631abe

Please sign in to comment.