Page MenuHomePhabricator

2017 Wikitext editor is confused by long lines
Open, Needs TriagePublic

Description

Before I discovered the bug in T277683: VE preview of changes is confused after switching from section editing using NWE, I tried to use the 2017 the trim the whitespace from a line (diff here).

The edit area looked like the whitespace caused it to wraparound, but when I tried to delete the whitespace the line after that one had text removed.

For example, If the edit area looked like this:

   long line starts here
nothing on this line, but cursor could be placed here ->
   A line with some more text but something showing up on the seemingly empty line after the line holding the cursor.

Placing the cursor at the point and hitting backspace would delete the word "on" on the next line.

Event Timeline

I don't entirely understand the bug report, but it sounds a lot like T188839. Can you confirm if it's the same issue? If not, please provide more detailed reproduction steps (or a screen recording, if you can).