Page MenuHomePhabricator

Text disappearing after pasting
Closed, DuplicatePublic

Description

The original report has screenshots in it.

  1. Select a section.
  2. Cut (Shift+Del) and put cursor in...
  3. ..."New paragraph" area.
  4. Paste (Shift+Ins). Notice "phantom" text has appeared below normal.
  5. Put cursor in "phantom" text. It has dssappeared.
  6. Press Del. Whole text has dissapeared! Uncaught errors in browser console.
  7. Undo didn't work either. More uncaught error in browser console.

Found and reproduced in Chrome 64.0.3282.186 / Windows 7 SP1

Event Timeline

Based on the screenshots (very helpful!), this looks like the same heading copy-paste issue as T187690. The disappearing text is a bit different than described there, but it's possible – after the "phantom text" appears (or, to use some big words, the view and the model are desynchronized) the editor is beyond rescue and all kinds of weird things may happen.