Opened 13 years ago
Last modified 13 years ago
#8922 closed Bug
ctrl-v plain text bug with CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR; — at Initial Version
Reported by: | Paul Veldema | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.6.3 |
Keywords: | Webkit | Cc: |
Description
Go to http://nightly.ckeditor.com/7478/_samples/enterkey.html and switch to the ENTER_BR setting.
Ensure the editor is completely empty in code view and switch back to wysiwyg view.
Now try to paste any single line of plain text with crtl-v in the ckeditor and it will not be pasted. An extra observation here is that the cursor disapears.
When pasting with ctrl-v twice in a row the text will be pasted. If you look in code view after only one ctrl-v you see an empty editor.
Pasting multiline plain text with the same steps also goes wrong but slightly different:
- Use ctrl-c to copy some multi line plain text like:
a b c d
- When pasting with ctrl-v once and looking in code view nothing is added.
- When pasting with ctrl-v twice in a row you still see nothing in wysiwyg view but when looking in code view you see:
<body id="cke_pastebin" style="position: absolute; top: 8px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; left: -1000px; "> <div> a</div> <div> b</div> <div> c</div> <div> d</div> </body>
Expected: to see the pasted text in the editor after the first crtl-v.
Tested here:
- IE9: works correctly
- IE8: works correctly
- FF: works correctly
- Chrome: bug found
- Safari: bug found
This is regression that started with ckeditor 3.6.3.