mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 17:51:41 +00:00
editor: elegir el elemento correcto al seleccionar
This commit is contained in:
parent
cd091d2e30
commit
8f4566f06c
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ const cleanContent = (contentEl) => {
|
|||
contentEl.insertBefore(el, child.nextSibling)
|
||||
el.appendChild(child)
|
||||
|
||||
sel.selectAllChildren(contentEl)
|
||||
sel.selectAllChildren(el)
|
||||
sel.collapseToEnd()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue