Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Sep 17, 2023
1 parent ecea61a commit 5bb2728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions siyuan.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,6 @@ export function confirm(title: string, text: string, confirmCallback?: (dialog:
*/
export function showMessage(text: string, timeout?: number, type?: "info" | "error", id?: string): void;

export function transaction(protyle: IProtyle, doOperations: IOperation[], undoOperations: IOperation[]): void;

export class App {
plugins: Plugin[];
}
Expand Down Expand Up @@ -481,6 +479,8 @@ export class Protyle {
* @param {boolean} [useProtyleRange=false]
*/
insert(html: string, isBlock?: boolean, useProtyleRange?: boolean): void

transaction(doOperations: IOperation[], undoOperations?: IOperation[]): void;
}

export class Setting {
Expand Down

0 comments on commit 5bb2728

Please sign in to comment.