Skip to content

Commit

Permalink
fix(core): dereference editor from DOM element on destroy #5654 (#5666)
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 authored Sep 26, 2024
1 parent 26056aa commit 7ef401d
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 159 deletions.
5 changes: 5 additions & 0 deletions .changeset/eighty-pandas-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tiptap/core": patch
---

This plugs a memory leak where there is a circular reference between the view's DOM node and the editor instance, to resolve this, before destroying the view we need to delete the reference to the editor instance on the DOM node #5654
Loading

0 comments on commit 7ef401d

Please sign in to comment.