remove us

This commit is contained in:
Niels Lyngsø
2023-06-29 13:15:47 +02:00
parent b37b1a1591
commit a889f5600b

View File

@@ -80,7 +80,7 @@ export class UmbInputTinyMceElement extends FormControlMixin(UmbLitElement) {
super.disconnectedCallback();
if (this.#editorRef) {
// TODO: Test if there is any problems with us destroying the RTE here, but not initializing on connectedCallback. (firstUpdated is only called first time the element is rendered, not when it is reconnected)
// TODO: Test if there is any problems with destroying the RTE here, but not initializing on connectedCallback. (firstUpdated is only called first time the element is rendered, not when it is reconnected)
this.#editorRef.destroy();
}
}