use a custom tinymce svelte component and other minor optimizations

This commit is contained in:
Gani Georgiev
2023-10-15 14:04:44 +03:00
parent c0fa53a2ab
commit 8868fa9ae6
106 changed files with 541 additions and 326 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ export default class CommonHelper {
tagName === "input" ||
tagName === "select" ||
tagName === "textarea" ||
element.isContentEditable
element?.isContentEditable
)
}
@@ -97,7 +97,7 @@ export default class CommonHelper {
tagName === "button" ||
tagName === "a" ||
tagName === "details" ||
element.tabIndex >= 0
element?.tabIndex >= 0
);
}