Skip to content

Commit c34e01b

Browse files
Made BlockNoteEditor constructor protected (#1039)
1 parent 908cf28 commit c34e01b

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
@@ -271,7 +271,7 @@ export class BlockNoteEditor<
271271
return new BlockNoteEditor<BSchema, ISchema, SSchema>(options);
272272
}
273273

274-
private constructor(
274+
protected constructor(
275275
private readonly options: Partial<BlockNoteEditorOptions<any, any, any>>
276276
) {
277277
const anyOpts = options as any;

0 commit comments

Comments
 (0)