Fix stringify

This commit is contained in:
Lorem Ipsum 2021-01-15 23:17:37 +00:00
parent a525ac5e52
commit 9fe4b427a3

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