Skip to content

Commit c2ac00c

Browse files
committed
🎨 #14496
1 parent 0cd0913 commit c2ac00c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/editor/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Editor extends Model {
2121
rootId: string,
2222
mode?: TEditorMode,
2323
action?: TProtyleAction[],
24-
afterInitProtyle: (editor: Protyle) => void,
24+
afterInitProtyle?: (editor: Protyle) => void,
2525
}) {
2626
super({
2727
app: options.app,
@@ -40,7 +40,7 @@ export class Editor extends Model {
4040
action?: TProtyleAction[]
4141
rootId: string,
4242
mode?: TEditorMode,
43-
afterInitProtyle: (editor: Protyle) => void,
43+
afterInitProtyle?: (editor: Protyle) => void,
4444
}) {
4545
this.editor = new Protyle(this.app, this.element, {
4646
action: options.action || [],

0 commit comments

Comments
 (0)