bumped preload cleanup delay

This commit is contained in:
Gani Georgiev
2026-06-28 10:14:44 +03:00
parent ed076328cb
commit 71ea799e45
+2 -2
View File
@@ -552,11 +552,11 @@ function preloadTinyMCE() {
preloadedElem = t.div({ hidden: true }, app.components.tinymce()); preloadedElem = t.div({ hidden: true }, app.components.tinymce());
document.body.appendChild(preloadedElem); document.body.appendChild(preloadedElem);
// small enough time for the plugins to initialize // small enough delay for the plugins to initialize
setTimeout(() => { setTimeout(() => {
preloadedElem?.remove(); preloadedElem?.remove();
preloadedElem = null; preloadedElem = null;
}, 500); }, 1500);
} }
// preload TinyMCE with all of its plugins in the background for the first // preload TinyMCE with all of its plugins in the background for the first