Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 7, 2024
1 parent 2a384e9 commit 5978a03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## v1.0.6 2024-11

* [Add plugin method `updateProtyleToolbar`](https://github.com/siyuan-note/plugin-sample/issues/24)

## v1.0.5 2024-11-05

* [Add `renderElement` and `blockElement` for `open-noneditableblock`](https://github.com/siyuan-note/siyuan/issues/12955)
Expand Down
3 changes: 3 additions & 0 deletions siyuan.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
App,
Files,
Tab, Model,
IMenuItem,
} from "./types";

export * from "./types";
Expand Down Expand Up @@ -396,6 +397,8 @@ export abstract class Plugin {
}): void;

updateCards(options: ICardData): Promise<ICardData> | ICardData;

updateProtyleToolbar(toolbar: Array<string | IMenuItem>) : Array<string | IMenuItem>;
}

export class Setting {
Expand Down

0 comments on commit 5978a03

Please sign in to comment.