Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9042 closed Bug (fixed)

Safari: cke_pastebin remains in editor body after pasting

Reported by: satya Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.6.4
Component: Core : Pasting Version: 3.6.3
Keywords: Safari Chrome IBM Cc: damo, tmonahan

Description (last modified by fredck)

To reproduce the defect:

  1. Open Replace by class sample, copy HTML content from above editor body and paste in to editor.
  1. Go back to HTML Source. See that cke_pastebin shows at end of editor content.
<body id="cke_pastebin" style="position: absolute; top: 39px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; left: -1000px; "> </body>
  1. Switch back to Rich text.
  1. Content lost and we can't type in to editor.

This is because cke_pastebin still remains in editor body.

This was happening from revision 7383

Reproducible in Safari on Windows & all browsers (Safari, Firefox) on MAC

Attachments (3)

pasted HTML Content.jpg (41.2 KB) - added by satya 5 years ago.
editor body after switching back from source to richtext.jpg (32.1 KB) - added by satya 5 years ago.
9042.patch (1.2 KB) - added by garry.yao 5 years ago.

Download all attachments as: .zip

Change History (12)

Changed 5 years ago by satya

comment:1 Changed 5 years ago by j.swiderski

  • Keywords Safari added
  • Status changed from new to confirmed

Issue reproducible only in Safari (I haven't seen problems in other browsers on Mac) on Windows and Mac from CKEditor 3.6.3 rev. [7383]

Changed 5 years ago by garry.yao

comment:2 Changed 5 years ago by garry.yao

  • Milestone set to CKEditor 3.6.4
  • Owner set to garry.yao
  • Status changed from confirmed to review

comment:3 Changed 5 years ago by garry.yao

  • Component changed from General to Core : Pasting

comment:4 Changed 5 years ago by fredck

  • Description modified (diff)

comment:5 Changed 5 years ago by fredck

  • Status changed from review to review_passed

comment:6 Changed 5 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from review_passed to closed

Fixed with [7498].

comment:7 Changed 5 years ago by andywall

  • Keywords Chrome Webkit added; IBM removed
  • Version changed from 3.6.3 to 4.0 Beta

This once again appears to be an issue. Now in CKEditor 4 Beta on Webkit, for at least Win and Mac.

I am copying text from any source outside of the CKEditor itself and pasting it into CKEditor. No text is visibly pasted and I can no longer type in the editor (it will not receive focus). Upon examining the DOM, the aforementioned cke_pastebin DIVs are present with the content that should have been pasted.

comment:8 Changed 5 years ago by j.swiderski

  • Keywords IBM added; Webkit removed
  • Version changed from 4.0 Beta to 3.6.3

comment:9 Changed 5 years ago by j.swiderski

@andywall you are right. I have opened separate issue for this case - #9549.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy