Opened 13 years ago
Last modified 11 years ago
#10414 confirmed Bug
[Enter BR and IE] Problems when entering text in Korean
| Reported by: | swhong | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.5.3 |
| Keywords: | Support | Cc: |
Description (last modified by )
Enter the letters.
The Select All letters.
Enter the characters again. (Korean)
ex)
Normal Input: 가나다라
a bug: ㄱ가나다
I think _sourc/\plugins/wysiwygarea/plugin.js Prevent IE from leaving new paragraph after deleting all contents in body. (#6966)
if ( CKEDITOR.env.ie && editor.config.enterMode != CKEDITOR.ENTER_P )
{
domDocument.on( 'selectionchange', function()
{
var body = domDocument.getBody(),
sel = editor.getSelection(),
range = sel && sel.getRanges()[ 0 ];
if ( range && body.getHtml().match( /^<p> <\/p>$/i )
&& range.startContainer.equals( body ) )
{
// Avoid the ambiguity from a real user cursor position.
setTimeout( function ()
{
range = editor.getSelection().getRanges()[ 0 ];
if ( !range.startContainer.equals ( 'body' ) )
{
'''body.getFirst().remove( 1 );''' >> '''body.getFirst().remove( 0 );'''
range.moveToElementEditEnd( body );
range.select( 1 );
}
}, 0 );
}
});
}
The problem is solved
Attachments (5)
Change History (11)
comment:1 Changed 12 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 12 years ago by
| Status: | new → confirmed |
|---|---|
| Summary: | IE Problems when entering → [Enter BR and IE] Problems when entering text in Korean |
| Version: | 4.1.1 → 3.5.3 |
Changed 12 years ago by
Changed 11 years ago by
| Attachment: | 2014-09-02_1500.swf added |
|---|
Changed 11 years ago by
| Attachment: | 2014-09-02_1503.swf added |
|---|
Changed 11 years ago by
| Attachment: | 2014-09-02_1504.swf added |
|---|
Changed 11 years ago by
| Attachment: | 2014-09-02_1507.swf added |
|---|
comment:4 Changed 11 years ago by
| Keywords: | Support added |
|---|
I have attached few files showing that typing fast and repeatedly rk+Enter and/or rk+right arrow sometimes inserts rrk (ㄱ가 ).
comment:5 Changed 11 years ago by
Additional reproduction scenario and screen cast can be found under support ticket no. 8963.

This took me quite a while to reproduce but here goes:
Result: after inserting 가 on selected text the result actually is ㄱ가
Problem can be reproduced in all versions of IE from CKEditor 3.5.3 rev. [6486] in both CKE 3.x and 4.x.