Skip to content

Commit 8fe92ba

Browse files
YousefEDnperez0111
andauthored
fix: react 19 strict mode compatibility (#1726)
Co-authored-by: Nick Perez <[email protected]>
1 parent 28edc69 commit 8fe92ba

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)