Opened 11 years ago

Last modified 11 years ago

#11671 confirmed Bug

[IE 8-10] inserttext space as first call on editor problem

Reported by: Hans van Leuken Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: IE Cc:

Description

please take a look at the following JSFiddle: http://jsfiddle.net/5zx3B/1/ in IE10

click on button: "space"

click on button: "letter A"

result: "A"

expected result: " A"

Take an empty editor. If you call insertText(" ") the space is displayed. If you call insertText("A") the space is removed and the "A" is added.

Find this issue on GitHub

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: IE added
Status: newconfirmed
Summary: [IE 10] inserttext space as first call on editor problem[IE 8-10] inserttext space as first call on editor problem
Version: 4.3.24.0

Problem can be reproduced from CKEditor 4.0 in IE8-10. The result is not 'A' but 'A '.

In CKEditor 3.6.6 this was working fine. In CKEditor 4.0 beta result was only 'A' and starting from CKEditor 4.0 result is 'A '

Problem can be reproduced also with:

var editor = CKEDitor.replace('someId');
editor.on('instanceReady', function(){
	editor.insertText(' ');
	editor.insertText('A');
});
Find this issue on GitHub
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