5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 18:01:42 +00:00

Merge branch 'rails' of 0xacab.org:sutty/sutty into rails

This commit is contained in:
f 2021-02-02 16:39:27 -03:00
commit 013b7e5ed7

View file

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