#8922 closed Bug (duplicate)
ctrl-v plain text bug with CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR;
Reported by: | Paul Veldema | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.6.3 |
Keywords: | Webkit | Cc: |
Description (last modified by )
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.
Change History (6)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Keywords: | Webkit added |
---|---|
Status: | new → confirmed |
Version: | 3.6.4 (SVN - trunk) → 3.6.3 |
Reproducible in Webkit from CKEditor 3.6.3 rev. [7383]
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 13 years ago by
Reported here as well: http://cksource.com/forums/viewtopic.php?f=6&t=25524
comment:6 Changed 12 years ago by
This happens in the ckeditor 4 beta too. We see code like the following:
<p>We're glad you've stopped by our website. Here at Faith Templewe are about knowing him and making him known in the Rochester,NY area. We'd love for you and your family to join us for one of our sunday services soon. With a dynamic youth ministry,exciting children ministry, and challenging adult services, there is sure to be something here for you whole family. We look forward to meeting you and your family soon! </p> <body id="cke_pastebin" style="position: absolute; top: 10px; width: 1px; height: 280px; overflow-x: hidden; overflow-y: hidden; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; left: -1000px; "> </body>
Chrome version tested: 18.0.1025.162 Safari version tested: 5.1.5 (7534.55.3)