Opened 6 years ago

Closed 4 years ago

#9554 closed Bug (fixed)

[Webkit Mac] Editor scrolls on paste

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone: CKEditor 4.5.0 Beta
Component: General Version: 3.6.3
Keywords: Webkit Mac Cc:

Description (last modified by Jakub Ś)

Continuation of #8409.

To reproduce:

  1. Create a page large enough so the scrollbar shows.
  2. Scroll somewhere in the middle,
  3. Paste a small chunk of text

Result: The editor will be scrolled to have the newly pasted text aligned to the bottom of the editor.

Reproducible in Webkit Browsers on Mac from CKEditor 3.6.3 rev. [7447]

This problem does not occur in CKEditor 4.x (v4).

Attachments (1)

ckeditor-8409.diff (1.1 KB) - added by Jakub Ś 6 years ago.
@clkao attached possible patch

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Jakub Ś

Attachment: ckeditor-8409.diff added

@clkao attached possible patch

comment:1 Changed 6 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed

comment:2 Changed 4 years ago by Nathan Frost

I noticed this problem, and was actually the same as #8409 in ckeditor 4.3 with chrome on mac. This happened after enabling the divarea plugin. Our ckeditor is very customized so it may not reproduce.

comment:2 Changed 4 years ago by Nathan Frost

I noticed this problem, and was actually the same as #8409 in ckeditor 4.3 with chrome on mac. This happened after enabling the divarea plugin. Our ckeditor is very customized so it may not reproduce.

comment:3 Changed 4 years ago by Nathan Frost

Reproducesable on demo Screencast: http://screencast.com/t/pL0bNEly Demo site: http://ckeditor.com/demo#div

The fix was probably written for the iframe. We should try to detect if it isn't an iframe and use a separate reference for scrollPosition.

comment:4 Changed 4 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.5.0
Resolution: fixed
Status: confirmedclosed

Fixed in 4.5.0 thanks to dropping the pastebin in favour of direct access to the clipboard.

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