[Webkit-unassigned] [Bug 186075] New: Spaces stripped when pasting word document into ContentEditable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 29 17:23:38 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186075
Bug ID: 186075
Summary: Spaces stripped when pasting word document into
ContentEditable
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andrew.herron at ephox.com
CC: wenson_hsieh at apple.com
Created attachment 341543
--> https://bugs.webkit.org/attachment.cgi?id=341543&action=review
Word document that has spaces stripped when pasting
Pasting the attached document into a ContentEditable div removes three of the spaces.
Instead of "The quick brown fox jumps over the lazy dog", paste produces "The quickbrownfox jumpsover the lazy dog". This does not happen on other browsers.
Replication steps:
* Load a page with a CE element such as https://jsfiddle.net/97t0f3mt/
* Copy all content from the word document
* Paste in Safari
* Observe the incorrect content
I've used two versions of Microsoft Word - 16.10 (180210) and 16.13.1 (180523) - to replicate.
I cannot replicate this in 11.0.3 (11604.5.6.1.1), all spaces are included, suggesting that the word paste changes in 11.1 (bug 124391 and related issues) are the cause of this.
I have replicated the failure in:
11.1 (11605.1.33.1.4) - macOS 10.11.6 (this machine had 11.0.3 and has now been upgraded)
11.1.1 (13605.2.8) - macOS 10.13.5 Beta (17F70a)
Webkit Build Archive r232252 (also on 10.13.5 Beta)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180530/5ac12080/attachment.html>
More information about the webkit-unassigned
mailing list