fix tinymce loading: waiting dom is ready
This commit is contained in:
parent
6497613772
commit
c751ee47ac
|
@ -151,5 +151,7 @@ module.exports = function () {
|
||||||
const config = { attributes: false, childList: true, subtree: true }
|
const config = { attributes: false, childList: true, subtree: true }
|
||||||
observer.observe(document.querySelector('body'), config)
|
observer.observe(document.querySelector('body'), config)
|
||||||
|
|
||||||
doInitEditor()
|
$(() => {
|
||||||
|
doInitEditor()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue