Opened 10 years ago
Last modified 9 years ago
#12666 confirmed Bug
[IE9-11] Double-byte space disappears when pasting
Reported by: | Lukas Felber | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 Beta |
Keywords: | IBM IE | Cc: |
Description (last modified by )
When copying multi-line text where each line starts with double byte white space(s) from Firefox and pasting into a ckeditor text field, the double byte white spaces are all dropped.
Steps to reproduce:
- create a html file with the following content:
<html><title></title><body>  1<br>   2<br>    3 </body></html>
- Open the file in firefox and copy all 3 lines.
- Paste into a ckeditor text field (I'm currently using http://ckeditor.com/demo#inline for testing)
Actual behavior:
All double byte white spaces are dropped.
Expected behavior:
They should be retained.
Additional information:
If the same html file is opened in Chrome and copying happens from a Chrome browser, pasting into ckeditor text field succeeds as expected.
Change History (15)
comment:1 Changed 10 years ago by
Keywords: | IBM added |
---|
comment:2 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Keywords: | IE Firefox added |
comment:3 Changed 10 years ago by
Status: | new → confirmed |
---|---|
Version: | → 4.0 Beta |
comment:5 follow-up: 6 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Works fine with CKE 4.5.4 using: http://jsfiddle.net/96y5csy3/ and pasting into http://ckeditor.com/demo#inline
In my opinion it's been fixed in 4.5.0 because it can be reproduced on http://cdn.ckeditor.com/4.4.8/full-all/samples/replacebycode.html
comment:6 Changed 9 years ago by
Replying to Reinmar:
Works fine with CKE 4.5.4 using: http://jsfiddle.net/96y5csy3/ and pasting into http://ckeditor.com/demo#inline
In my opinion it's been fixed in 4.5.0 because it can be reproduced on http://cdn.ckeditor.com/4.4.8/full-all/samples/replacebycode.html
@reinmar i could still reproduce this issue in IE11 on the link that you provided http://ckeditor.com/demo#inline Pls re-open it
comment:7 Changed 9 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It's stil reproducible in IE11 if you:
- copy from IE11
- paste to CKEditor in IE11
When I've copied the source from Chrome and then pasted in IE11 it was working fine.
comment:8 Changed 9 years ago by
When I've copied the source from Chrome and then pasted in IE11 it was working fine.
Then I presume that IE11 just doesn't copy those spaces (in this case we can't help with it).
comment:9 Changed 9 years ago by
Status: | reopened → confirmed |
---|
comment:10 Changed 9 years ago by
Turns out IE copies those spaces, but they are still lost somewhere. Perhaps somewhere inside the data processor or editor.insertHtml()
.
comment:11 Changed 9 years ago by
Summary: | Double Byte White Space disappear when pasting from Firefox → Double-byte space disappears when pasting |
---|
comment:12 Changed 9 years ago by
Keywords: | Firefox removed |
---|---|
Summary: | Double-byte space disappears when pasting → Double-byte space disappears when pasting in IE11 |
comment:13 Changed 9 years ago by
Summary: | Double-byte space disappears when pasting in IE11 → Double-byte space disappears when pasting in IE9-11 |
---|
comment:14 Changed 9 years ago by
Summary: | Double-byte space disappears when pasting in IE9-11 → IE9-11 Double-byte space disappears when pasting |
---|
comment:15 Changed 9 years ago by
Summary: | IE9-11 Double-byte space disappears when pasting → [IE9-11] Double-byte space disappears when pasting |
---|
I have been able to reproduce this prolem in IE9-11 and Firefox starting from CKEditor 4 beta.
I CKEditor 3.6.x as well as in native content editable element double byte spaces are preserved.