⚓ T66760 When pasting a mix of <del>eted and nondeleted text into the visual editor, the deleted text is not shown
Article Images
When pasting a mix of <del>eted and nondeleted text into the visual editor, the deleted text is not shown
Closed, ResolvedPublic1 Estimated Story Points
When pasting a mix of <del>eted and nondeleted text into the visual editor, the deleted text is not shown
Closed, ResolvedPublic1 Estimated Story Points
Steps to reproduce
- Copy some text, some of which is struck out with a <del> element and some of which isn't. For example, this sentence: "
don'tdelete me!" - Try to paste it into the visual editor.
- Only the text which isn't struck out will appear.
This is particularly problematic because deleted text in Mediawiki diffs is marked up with a non-displayed <del> element. For example, the text removed in this edit will be copied as <del>He</del> <del>was</del> <del>a</del> <del>serving</del> <del>soldier</del>. If this is pasted into the visual editor, only the spaces will appear.
Verified in Firefox 41 and Chrome 44.
Event Timeline
• bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:08 AM
nshahquinn-wmf renamed this task from VisualEditor: Sometimes pasting text into a page results in only part of the text appearing. to When pasting a mix of <del>eted and nondeleted text into the visual editor, the deleted text is not shown.Jul 23 2015, 9:16 PM
nshahquinn-wmf changed the task status from Stalled to Open.
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits