fix tinymce loading: waiting dom is ready

This commit is contained in:
Simon Vieille 2021-10-06 10:23:24 +02:00
parent 6497613772
commit c751ee47ac
1 changed files with 3 additions and 1 deletions

View File

@ -151,5 +151,7 @@ module.exports = function () {
const config = { attributes: false, childList: true, subtree: true }
observer.observe(document.querySelector('body'), config)
doInitEditor()
$(() => {
doInitEditor()
})
}