Skip to content

Commit 4f842be

Browse files
authored
make ServerBlockNoteEditor constructor protected (#1048)
1 parent 4e87349 commit 4f842be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/server-util/src/context/ServerBlockNoteEditor.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ export class ServerBlockNoteEditor<
8787
>;
8888
}
8989

90-
private constructor(options: Partial<BlockNoteEditorOptions<any, any, any>>) {
90+
protected constructor(
91+
options: Partial<BlockNoteEditorOptions<any, any, any>>
92+
) {
9193
this.editor = BlockNoteEditor.create({
9294
...options,
9395
_headless: true,

0 commit comments

Comments
 (0)