Last modified: 2014-08-17 21:15:29 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 T71595, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69595 - VisualEditor: Pasting into nodes with whitespace inserts ☀
VisualEditor: Pasting into nodes with whitespace inserts ☀
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-08-21
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-15 09:33 UTC by Jan Ainali
Modified: 2014-08-17 21:15 UTC (History)
4 users (show)

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


Attachments

Description Jan Ainali 2014-08-15 09:33:54 UTC
I copied part of a header from one page on se.wikimedia and pasted in an already started header on another page. After my paste the symbol ☀ was added:

https://se.wikimedia.org/w/index.php?title=Projekt%3AWikidata_2014%2FAns%C3%B6kan_till_Vinnova&diff=34844&oldid=34843

(Page I copied from: https://se.wikimedia.org/wiki/Projekt:Offentligkonst.se_2014/Ans%C3%B6kan_till_Vinnova )

I used Google Chrome Version 35.0.1916.153 on Ubuntu 14.04.
Comment 1 Ed Sanders 2014-08-16 13:38:01 UTC
Can you give more detailed steps to reproduce. Did you copy from read mode, or from VE? Where exactly did you select, and where exactly did you paste?
Comment 2 Ed Sanders 2014-08-16 13:40:13 UTC
Nevermind, managed to reproduce.
Comment 3 Ed Sanders 2014-08-16 14:09:55 UTC
This happens when pasting into any node with inner whitespace in it's Parsoid HTML (e.g. <h2> Foo </h2>)
Comment 4 Gerrit Notification Bot 2014-08-16 14:13:08 UTC
Change 154407 had a related patch set uploaded by Esanders:
Ignore whitespace when generating paste context

https://gerrit.wikimedia.org/r/154407
Comment 5 Gerrit Notification Bot 2014-08-17 18:20:16 UTC
Change 154407 merged by jenkins-bot:
Ignore whitespace when generating paste context

https://gerrit.wikimedia.org/r/154407

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


Navigation
Links