Page MenuHomePhabricator

With "Syntax highlighting" enabled in 2017 wikitext editor, source code is highlighted in white at first when editing category pages
Closed, DuplicatePublic

Description

Steps:

  1. Enable 2017 Editor in beta features, and make sure you enabled "Syntax highlighting";
  2. Open random categories, e.g. https://en.wikipedia.org/wiki/Category:Beijing_Subway_line_templates;
  3. Click Edit source

Actual results:

1.jpg (922×1 px, 169 KB)

Source codes are white, but then by clicking read and re-click Edit source, they shown as well:
1.jpg (922×1 px, 163 KB)

Expected results:
I should be able to just show colored source codes, just once.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Liuxinyu970226 renamed this task from If enabled "Syntax highlighting" in 2017 editor, then by editing categories, source codes are white to If enabled "Syntax highlighting" in 2017 editor, then by editing categories, source codes are white at first.Dec 31 2018, 12:32 AM
H78c67c renamed this task from If enabled "Syntax highlighting" in 2017 editor, then by editing categories, source codes are white at first to With "Syntax highlighting" enabled in 2017 wikitext editor, source code is highlighted in white at first when editing category pages.Dec 31 2018, 8:36 AM