Update index.js

This commit is contained in:
Lorem Ipsum 2021-01-15 23:20:39 +00:00
parent 9fe4b427a3
commit 0302d32f47

View file

@ -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(JSON.stringify(json));
update(json); buildGui(json); editor.setValue(JSON.stringify(json, null, 4));
document.querySelectorAll('.gui>.item').forEach(e => e.classList.add('active'));
content.focus();
})