Opened 5 years ago

Last modified 5 years ago

#7143 confirmed Bug

Text Cursor loses position when document-overflow is modified

Reported by: emeerson Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2.1
Keywords: Firefox Cc: emeerson@…, rbudigelli@…


Steps to reproduce: 1) Add text to editor instance window such that cursor is not at the beginning 2) execute (in firebug's console, for example):

if no scroll is present = "scroll"; or, if scroll is already present = "hidden"; CKEDITOR.instances.MyInstance.insertText('Test');

3) Note that the text has been inserted at the beginning of the text editor.

This is an issue in Firefox 3.6.13 (and I believe earlier FF versions). Not certain if it is an issue in IE.

Change History (1)

comment:1 Changed 5 years ago by j.swiderski

  • Cc changed from; to,
  • Keywords Firefox added; cursor position removed
  • Status changed from new to confirmed

This works all browser except for Firefox.

Till CKEditor 3.2 it was ok.
From 3.2.1 to 3.2.2 the above TC caused text being pasted at the beginning of text.
From 3.3 to 3.4.1 the above TC caused JS error.
From 3.4.2 till current the above TC has no effect. Scroll is hidden or shown but the text is not inserted. To insert text you have to click on editor and execute = "hidden"; CKEDITOR.instances.editor2.insertText('Test'); (or just CKEDITOR.instances.editor2.insertText('Test');) once more to see the effect.

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