Page MenuHomePhabricator

VisualEditor: Select All + Delete removes all text from sight, but not internally
Closed, ResolvedPublic

Description

  1. Using VisualEditor, edit an article that already has some text in it.
  2. Select all text with Ctrl-A.
  3. Press the DELETE key. All text disappears as expected.
  4. Click "Review and Save". The diff shows that text is STILL PRESENT in the article.
  5. Finish saving. You will see that text is still in the article.

Version: unspecified
Severity: major

Details

Reference
bz43081

Event Timeline

The problem also occurs if you highlight all the article text with your mouse and press DEL.

More widely, it looks like the CE layer doesn't bind to delete the way it does to backspace; assigning.

I can reproduce this with backspace too. Does seem to be a CE issue, because the linear model isn't emptied (it could also have been a selser issue).

orbit wrote:

Reproducible in Firefox.

This is now fixed (as of the new deletion code).