Fix config missing (#4825)

This commit is contained in:
Nicolas Mowen 2022-12-30 08:52:10 -07:00 committed by GitHub
parent 63260119fb
commit e3ec292528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ export default function Config() {
return;
}
if (window.editor) {
if (document.getElementById('container').children.length > 0) {
// we don't need to recreate the editor if it already exists
return;
}