Placing the markers may have split a text node. If we don't sew it up when
removing the markers and the user presses space between the nodes, the browser
will insert an and that will cause word wrapping issues.
Add to the line until it wraps to the second line (resizing your browser window helps) like so:
Press delete at the start of the second line (e.g. before "this" in the screenshot).
Press space.
Expected result: the word before the deletion e.g. "like" goes back to the first line.
Actual result: the word before the deletion stays on the second line.
Placing the markers may have split a text node. If we don't sew it up when removing the markers and the user presses space between the nodes, the browser will insert an
and that will cause word wrapping issues.Simple way to reproduce the issue:
Note that there is now an
between "Hello," and "World!".Where this could be a problem:
Expected result: the word before the deletion e.g. "like" goes back to the first line. Actual result: the word before the deletion stays on the second line.