Skip to content

Commit

Permalink
fix: Remove setValue method from Editor and Viewer. (#986)
Browse files Browse the repository at this point in the history
It no longer exists, setMarkdown or setHtml should be used.

Co-authored-by: Chris Midgley <chris.midgley@lhasalimited.org>
  • Loading branch information
midgleyc and Chris Midgley authored May 21, 2020
1 parent 7f44dbd commit dfe4382
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/editor/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,6 @@ declare namespace toastui {

public setUI(UI: UI): void;

public setValue(value: string, cursorToEnd?: boolean): void;

public show(): void;

public setCodeBlockLanguages(languages?: string[]): void;
Expand Down Expand Up @@ -835,8 +833,6 @@ declare namespace toastui {

public setMarkdown(markdown: string): void;

public setValue(markdown: string): void;

public setCodeBlockLanguages(languages?: string[]): void;
}
}
Expand Down

0 comments on commit dfe4382

Please sign in to comment.