diff --git a/assets/js/index.js b/assets/js/index.js index 91b7fc6..02994fa 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -645,7 +645,7 @@ window.onload = () => { json = { embed: {}, content: "" }; embed.style.removeProperty('border-color'); picker.source.style.removeProperty('background'); - update(json); buildGui(json); editor.setValue('{}'); + update(json); buildGui(json); editor.setValue(JSON.stringify(json)); document.querySelectorAll('.gui>.item').forEach(e => e.classList.add('active')); content.focus(); })