mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-25 22:40:25 +01:00
manually clear all TinyMCE events on editor removal
This commit is contained in:
1 parent
71141dde69
commit
a5fdbeae79
33 files changed
+45
-40
No files matched your search
@@ -225,6 +225,9 @@
|
||||
return () => {
|
||||
try {
|
||||
if (editorRef) {
|
||||
// temp workaround for https://github.com/tinymce/tinymce/issues/9377
|
||||
editorRef.dom?.unbind(document);
|
||||
|
||||
getTinymce()?.remove(editorRef);
|
||||
}
|
||||
} catch (_) {}
|
||||
|
||||
Reference in new issue
Block a user