@tiptap/core 2.0.0-beta.136 → 2.0.0-beta.137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1911,12 +1911,6 @@ function isActive(state, name, attributes = {}) {
1911
1911
  return false;
1912
1912
  }
1913
1913
 
1914
- function removeElement(element) {
1915
- if (element === null || element === void 0 ? void 0 : element.parentNode) {
1916
- element.parentNode.removeChild(element);
1917
- }
1918
- }
1919
-
1920
1914
  function getHTMLFromFragment(fragment, schema) {
1921
1915
  const documentFragment = prosemirrorModel.DOMSerializer
1922
1916
  .fromSchema(schema)
@@ -3337,7 +3331,6 @@ class Editor extends EventEmitter {
3337
3331
  this.view.destroy();
3338
3332
  }
3339
3333
  this.removeAllListeners();
3340
- removeElement(this.css);
3341
3334
  }
3342
3335
  /**
3343
3336
  * Check if the editor is already destroyed.