add layout edit placeholders

[deploy]
This commit is contained in:
2023-07-18 02:01:25 +02:00
parent b04ed7fe7f
commit 6facaad4a2
5 changed files with 37 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ export const editableLayout: Action<HTMLButtonElement, {id: number; quadrant: nu
const edit = tippy(node, {
interactive: true,
appendTo: document.body,
trigger: "click",
placement: (["top", "right", "bottom", "left"] as const)[quadrant],
onShow(instance) {
component ??= new InputEdit({