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

Attachment: pasted HTML Content.jpg added

comment:1 Changed 5 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 5 years ago by Garry Yao

Attachment: 9042.patch added

comment:2 Changed 5 years ago by Garry Yao

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

comment:3 Changed 5 years ago by Garry Yao

Component: GeneralCore : Pasting

comment:4 Changed 5 years ago by Frederico Caldeira Knabben

Description: modified (diff)

comment:5 Changed 5 years ago by Frederico Caldeira Knabben

Status: reviewreview_passed

comment:6 Changed 5 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [7498].

comment:7 Changed 5 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 5 years ago by Jakub Ś

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

comment:9 Changed 5 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 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy