Last modified: 2014-10-27 23:32:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70928, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68928 - VisualEditor: Pasting <em> content into a VE-MW surface should down-convert <em>s to <i>s (and <strong>s to <b>s)
VisualEditor: Pasting <em> content into a VE-MW surface should down-convert <...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-31 16:33 UTC by Elitre
Modified: 2014-10-27 23:32 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Comment 1 Kurt Jansson 2014-08-06 17:16:23 UTC
The "<em>" tag was inserted via italicised text in the clipboard. Source for the text was a web page. I would expect that the VE drops the tag or replaces it with two singe quotes.

Ich have no idea where the "<nowiki>" tag came from. I wasn't able to delete it in the VE.
Comment 2 Elitre 2014-10-24 12:41:40 UTC
Looking at this again, I believe VE used to add those nowiki tags to prevent the line being displayed differently from the others because of the space at its beginning; and VE does retain formatting when pasting, but that can be avoided by using the shortcut Ctrl + Shift + V.
Comment 3 James Forrester 2014-10-27 23:32:26 UTC
(In reply to Kurt Jansson from comment #1)
> The "<em>" tag was inserted via italicised text in the clipboard. Source for
> the text was a web page. I would expect that the VE drops the tag or
> replaces it with two singe quotes.

Yeah, good point. I thought we already did this?

> Ich have no idea where the "<nowiki>" tag came from. I wasn't able to delete
> it in the VE.

That's because you ended up with a paragraph starting with a ' ', and to stop it turning into a <pre> block it instead – bug 66628. It's harmless, if irritating.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links