Page MenuHomePhabricator

[Regression pre-wmf.23] Weird wikitext formatting observed while editing with NWE when syntax highlighting is on
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Open NWE
  2. Enable the syntax highlighting
  3. Now add a page title

Observe that the closing ("==") tags are appearing randomly in the middle of the next line if there is more content after that line. If not, all the "=" tags are appearing at the beginning.

On Beta Cluster:

Screen Shot 2018-02-27 at 5.23.58 PM.png (601×1 px, 214 KB)

Screen Shot 2018-02-27 at 5.25.58 PM.png (749×1 px, 243 KB)

On test2:

Screen Shot 2018-02-27 at 5.25.14 PM.png (544×996 px, 141 KB)

Screen Shot 2018-02-27 at 5.26.46 PM.png (727×1 px, 159 KB)

Event Timeline

Same issue occurs for the following cases:

  1. Adding text with formatting such as "bold" .
  2. Inserting table .
  3. Inserting comment.
Esanders triaged this task as High priority.
Esanders edited projects, added VisualEditor (Current work); removed VisualEditor.

Change 415273 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/CodeMirror@master] VE: Use different approach for transparent text issue

https://gerrit.wikimedia.org/r/415273

Change 415273 merged by jenkins-bot:
[mediawiki/extensions/CodeMirror@master] VE: Use different approach for transparent text issue

https://gerrit.wikimedia.org/r/415273

Deskana set the point value for this task to 1.