Page MenuHomePhabricator

VisualEditor: Pasting block level elements can lose annotations
Closed, ResolvedPublic

Description

If you copy a block level element and try to paste it all the annotations (links, bold, italic etc.) are removed and it is just pasted as plain text. You need to select the whole line with the selection region going all the way to the right of the screen.

For example in
http://en.wikipedia.org/wiki/User:Salix_alba/VE_test
selecting the whole of the final paragraph and coping and pasting loses anotation.

Examining the clipboard in this case its something like
<meta charset='utf-8'><p data-parsoid ...</p><br class="Apple-interchange-newline">


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52770

Details

Reference
bz52771

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:09 AM
bzimport set Reference to bz52771.

Can't reproduce.

Can confirm that this has been incidentally fixed as part of Ed's work on copy-and-paste - tested in Chrome/Firefox/Safari/Opera. (Yay.)