Opened 10 years ago
Closed 10 years ago
#13476 closed Bug (invalid)
'full-width space' is not pasted on firefox and IE
Reported by: | yuhai | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Summary: The issue can't be reproduced on chrome. And it can be reproduced on firefox and IE
Reproduce Steps:
- Use firefox, go to http://ckeditor.com/demo#bbcode demo.
- Enter one full-width space and word "test", and click enter.
- Ctrl+C to copy the first line.
- Ctrl+V to paste the content in the second line.
Actual behavior: 'full-width space' is not pasted. Please refer to the attachment.
Expected behavior: 'full-width space' is pasted successful.
I find: On firefox, pastebin.getHtml() is right. On chrome, pastebin.getHtml(): the content is included in <span> label. I think <span> label is generated by chrome. Is it right? For span label, can we prevent it (This is not mainly issue in the ticket. If needed, I will create one new ticket to report it. I see the related thread from http://ckeditor.com/forums/CKEditor/Clipboard-Chrome-and-Keyboard-Ctrl-C)?
To type full-width spaces, you need to install the Japanese IME This link might be useful: https://www.coscom.co.jp/learnjapanese801/install_ime.html
Please help check the issue.
Thanks, Hai
Attachments (1)
Change History (7)
Changed 10 years ago by
Attachment: | reproduced_firefox.gif added |
---|
comment:1 Changed 10 years ago by
Version: | 4.4.5 → 4.4.7 |
---|
comment:2 Changed 10 years ago by
Status: | new → pending |
---|---|
Version: | 4.4.7 |
comment:3 Changed 10 years ago by
Hi Reinmar,
Thanks for your response.
It works on firefox when test the issue in http://ckeditor.com/tmp/4.5.0-beta/image-upload.html.
I have two questions. Why http://ckeditor.com/demo#bbcode can reproduce the issue on firefox? And the ckeditor demo version is 4.4.7. Can you let me know which ticket fix the issue on firefox?
Thanks, Hai
comment:4 Changed 10 years ago by
http://ckeditor.com/demo uses still CKEditor 4.4.7. This was fixed (or rather - worked around) in 4.5.0 and there's no single ticket. It was a big set of tickets that made CKEditor use the Clipboard APIs and extract the contents of the DOM manually, rather than letting the browser do it. So if you hoped to apply a patch to 4.4.7, then the closest you can get to that is to upgrade to CKEditor 4.5.0.
comment:6 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
It works on firefox when test the issue
I think we can close this ticket since it works in 4.5.
Could you check it on e.g. http://ckeditor.com/tmp/4.5.0-beta/image-upload.html? This sample uses CKEditor 4.5 Beta which uses the Clipboard API to access the clipboard in browsers that support it. Firefox does support this API, so perhaps this bug would be fixed. But IE don't, so nothing will change.