You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run in console quill.pasteHTML("<p><br></p><p>test</p>");
Put text cursor on the end of first paragraph (optionally type some symbols) and hit DEL
Expected behavior:
newline correctly removed and cursor position preserved.
Actual behavior:
if first paragraph has text - newline removed but cursor position shifted
if there no text in first paragraph - newline removed with error in console
Error in console and incorrect text caret position after newline/paragraph deletion
Steps for Reproduction
quill.pasteHTML("<p><br></p><p>test</p>");
Expected behavior:
newline correctly removed and cursor position preserved.
Actual behavior:
if first paragraph has text - newline removed but cursor position shifted
if there no text in first paragraph - newline removed with error in console
Platforms: Firefox 47, Firefox 49.0a2 and Chrome 51.0.2704.106 on OS X
Version: 1.0.0-beta.9
The text was updated successfully, but these errors were encountered: