5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 20:26:21 +00:00

Merge branch 'rails' into editor-en-webpack

This commit is contained in:
f 2021-02-02 16:45:24 -03:00
commit 252482f3f9

View file

@ -271,6 +271,8 @@ const cleanContent = (contentEl) => {
const el = document.createElement("p")
contentEl.insertBefore(el, child.nextSibling)
el.appendChild(child)
sel.collapse(el, el.textContent.length)
}
}
}