mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 01:11:41 +00:00
al agregar un bloque empezar a editarlo
This commit is contained in:
parent
434bb4a6f1
commit
ed6530a6ba
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ function setupBlockButton (button, block, contentEl, editorEl) {
|
|||
} else if (block.createFn) {
|
||||
const newEl = block.createFn(editorEl)
|
||||
parentEl.parentElement.insertBefore(newEl, parentEl.nextSibling)
|
||||
|
||||
newEl.click()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue