Skip to content

Commit a92d1e7

Browse files
committed
fix: set default value
1 parent 41d1449 commit a92d1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/editor/BlockNoteEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ export class BlockNoteEditor<
582582
DefaultInlineContentSchema,
583583
DefaultStyleSchema
584584
> {
585-
return new BlockNoteEditor(options as any) as any;
585+
return new BlockNoteEditor(options ?? {}) as any;
586586
}
587587

588588
protected constructor(

0 commit comments

Comments
 (0)