https://bugzilla.wikimedia.org/show_bug.cgi?id=58283

       Web browser: Firefox
            Bug ID: 58283
           Summary: VisualEditor: Pasting rich text from external sources
                    inserts spurious new lines in Firefox
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

E.g. copying the disclaimer from my staff page
https://www.mediawiki.org/wiki/User:Jdforrester_%28WMF%29 takes:

<p><b>Disclaimer:</b> Although I work for the Wikimedia Foundation,
contributions under this account do not necessarily represent the actions or
views of the Foundation unless expressly stated otherwise. For example, edits
to articles or uploads of other media are done in my individual, personal
capacity unless otherwise stated.</p>

… and turns it into the wikitext:

'''Disclaimer:'''
<nowiki> </nowiki>Although I work for the Wikimedia Foundation, contributions
under this
account do not necessarily represent the actions or views of the
Foundation unless expressly stated otherwise. For example, edits to
articles or uploads of other media are done in my individual, personal
capacity unless otherwise stated.

… (with the newlines showing before saving; not a Parsoid bug).

No new lines added when doing a plain paste.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to