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