How can I set the cursor after a span element inside an contenteditable div? Right now, I\'ve an image inside a span element, inside the contenteditable div.
When I
Just span.contentEditable = false to Tim's solution work properly ;)
span.contentEditable = false