Also rerender on field editor change
This commit is contained in:
parent
33f07feb3d
commit
20b6624ed7
|
@ -44,7 +44,9 @@ const TEXTAREA_STYLE: Partial<CSSStyleDeclaration> = {
|
||||||
width: "100%",
|
width: "100%",
|
||||||
};
|
};
|
||||||
|
|
||||||
const fieldInput = document.createElement("textarea");
|
const fieldInput = Object.assign(document.createElement("textarea"), {
|
||||||
|
oninput: render,
|
||||||
|
});
|
||||||
Object.assign(fieldInput.style, TEXTAREA_STYLE, { height: "8em" });
|
Object.assign(fieldInput.style, TEXTAREA_STYLE, { height: "8em" });
|
||||||
fieldInput.value = String.raw`
|
fieldInput.value = String.raw`
|
||||||
title "Hello, World!"
|
title "Hello, World!"
|
||||||
|
|
Loading…
Reference in New Issue