fix: don't remove the tiptap styles on destroy, fix #2120, fix #2143

This commit is contained in:
Philipp Kühn
2021-11-09 17:16:38 +01:00
parent 621cfa2f7e
commit a0a88acd13
2 changed files with 0 additions and 7 deletions

View File

@@ -1,5 +0,0 @@
export default function removeElement(element: HTMLElement): void {
if (element?.parentNode) {
element.parentNode.removeChild(element)
}
}