Skip to content

Commit 41fd54c

Browse files
committed
fix react 19 strict mode compatibility
1 parent b96d6eb commit 41fd54c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/editor/BlockNoteTipTapEditor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ export class BlockNoteTipTapEditor extends TiptapEditor {
302302
) => {
303303
if (!element) {
304304
this.destroy();
305+
this.isInitialized = false;
305306
} else {
306307
this.options.element = element;
307308
this.createViewAlternative(blockNoteEditor, contentComponent);

0 commit comments

Comments
 (0)