Page MenuHomePhabricator

Flow edit area should have a placeholder when in VE mode
Closed, ResolvedPublic


In Flow when replying to a message using the wikitext editor, a placeholder "Reply to X" is shown.
However, the VE version is missing such placeholder due to the limitations of ContentEditable surfaces (T96593).
Once T96593 is completed, we should add the placeholder to Flow-VE input areas.

Event Timeline

Change 221777 had a related patch set uploaded (by Catrope):
Use placeholder support in VE once it becomes available

Change 221777 merged by jenkins-bot:
Copy placeholders over to VE surfaces

  1. "Make source/wikitext icon consistent" is still Open.

Presently there is a difference between icons:

<a title="Switch to Wikitext editor" role="button" class="oo-ui-tool-link" aria-disabled="false" tabindex="0">
<span class="oo-ui-iconElement-icon oo-ui-icon-flow-switch-editor"></span><span class="oo-ui-tool-title">Switch to Wikitext editor</span>
<span dir="ltr" class="oo-ui-tool-accel" lang="en"></span></a></span>


<a href="#" title="Switch to VisualEditor" class="mw-ui-button flow-js flow-editor-switcher mw-ui-checked" data-flow-interactive-handler="switchEditor" 
data-flow-target="< .flow-editor textarea.flow-editor-initialized">
  1. Refer to 3.A on Switch to wikitext mode.

It should be a regular pressed button. That is, look dark grey, not green. (T94877).

On the mock-up the pressed button looks darker - but currently there is:

mw-ui-button:active, {

background: #CCC none repeat scroll 0% 0%;
box-shadow: none;