Is the following function a bug in Chrome, or is this the correct behavior that I don't understand?
In Chrome (version 25), if I have editable content that has node added after it via: after the css class, as in this jsfiddle
http://jsfiddle.net/yQBvn/
if I delete the entire contents of the range, after I delete the last character, Chrome adds <br>content to the editing range. This is not true.
I confirmed that Chrome does not do this if: after the css content is not added, and I confirmed that Firefox does not do this anyway.
source
share