Page MenuHomePhabricator

Pasting from LibreOffice calc corrupts page styles
Closed, ResolvedPublic1 Estimated Story Points

Description

It appears a <style> tag is in the clipboard, and gets appended to ceSurface.$pasteTarget. Looks like we need to directly sanitize the pasteTarget.

Event Timeline

Change 405809 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Remove <style> tags from pasteTarget ASAP

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

Deskana triaged this task as Medium priority.Jan 22 2018, 10:18 PM
Deskana set the point value for this task to 1.
Deskana moved this task from To Triage to TR1: Releases on the VisualEditor board.

Change 405809 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Remove <style> tags from pasteTarget ASAP

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

Change 405751 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (c5fddd508)

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

Change 405751 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (c5fddd508)

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