Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9042 closed Bug (fixed)

Safari: cke_pastebin remains in editor body after pasting

Reported by: Satya Minnekanti Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.6.4
Component: Core : Pasting Version: 3.6.3
Keywords: Safari Chrome IBM Cc: Damian, Teresa Monahan

Description (last modified by Frederico Caldeira Knabben)

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 Minnekanti 12 years ago.
editor body after switching back from source to richtext.jpg (32.1 KB) - added by Satya Minnekanti 12 years ago.
9042.patch (1.2 KB) - added by Garry Yao 12 years ago.

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by Satya Minnekanti

Attachment: pasted HTML Content.jpg added

comment:1 Changed 12 years ago by Jakub Ś

Keywords: Safari added
Status: newconfirmed

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 12 years ago by Garry Yao

Attachment: 9042.patch added

comment:2 Changed 12 years ago by Garry Yao

Milestone: CKEditor 3.6.4
Owner: set to Garry Yao
Status: confirmedreview

comment:3 Changed 12 years ago by Garry Yao

Component: GeneralCore : Pasting

comment:4 Changed 12 years ago by Frederico Caldeira Knabben

Description: modified (diff)

comment:5 Changed 12 years ago by Frederico Caldeira Knabben

Status: reviewreview_passed

comment:6 Changed 12 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [7498].

comment:7 Changed 11 years ago by Andy Wall

Keywords: Chrome Webkit added; IBM removed
Version: 3.6.34.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 11 years ago by Jakub Ś

Keywords: IBM added; Webkit removed
Version: 4.0 Beta3.6.3

comment:9 Changed 11 years ago by Jakub Ś

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

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy