mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
0cd0913484
commit
c2ac00c700
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ export class Editor extends Model {
|
|||
rootId: string,
|
||||
mode?: TEditorMode,
|
||||
action?: TProtyleAction[],
|
||||
afterInitProtyle: (editor: Protyle) => void,
|
||||
afterInitProtyle?: (editor: Protyle) => void,
|
||||
}) {
|
||||
super({
|
||||
app: options.app,
|
||||
|
|
@ -40,7 +40,7 @@ export class Editor extends Model {
|
|||
action?: TProtyleAction[]
|
||||
rootId: string,
|
||||
mode?: TEditorMode,
|
||||
afterInitProtyle: (editor: Protyle) => void,
|
||||
afterInitProtyle?: (editor: Protyle) => void,
|
||||
}) {
|
||||
this.editor = new Protyle(this.app, this.element, {
|
||||
action: options.action || [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue