WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
186075
Spaces stripped when pasting word document into ContentEditable
https://bugs.webkit.org/show_bug.cgi?id=186075
Summary
Spaces stripped when pasting word document into ContentEditable
Andrew Herron
Reported
2018-05-29 17:23:38 PDT
Created
attachment 341543
[details]
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)
Attachments
Word document that has spaces stripped when pasting
(14.04 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-05-29 17:23 PDT
,
Andrew Herron
no flags
Details
Safari 15.5 matches other browsers
(1.02 MB, image/png)
2022-05-31 15:12 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-05-31 11:51:01 PDT
<
rdar://problem/40693916
>
Ahmad Saleem
Comment 2
2022-05-31 15:12:55 PDT
Created
attachment 459910
[details]
Safari 15.5 matches other browsers I am unable to reproduce it in Safari 15.5 on macOS 12.4 as shown in the picture. If I have followed any incorrect steps, please update this accordingly. Else, appreciate if this can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
Andrew Herron
Comment 3
2022-05-31 19:09:15 PDT
Confirmed, thank you!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug