bumped preload cleanup delay
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user