Opened 11 years ago

Last modified 9 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 Jakub Ś)

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>&nbsp;<\/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)

ie.png (6.6 KB) - added by Jakub Ś 11 years ago.
2014-09-02_1500.swf (945.0 KB) - added by Jakub Ś 10 years ago.
2014-09-02_1503.swf (841.1 KB) - added by Jakub Ś 10 years ago.
2014-09-02_1504.swf (970.3 KB) - added by Jakub Ś 10 years ago.
2014-09-02_1507.swf (893.3 KB) - added by Jakub Ś 10 years ago.

Change History (11)

comment:1 Changed 11 years ago by Jakub Ś

Description: modified (diff)

comment:2 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Summary: IE Problems when entering[Enter BR and IE] Problems when entering text in Korean
Version: 4.1.13.5.3

This took me quite a while to reproduce but here goes:

  1. Open enter key sample, select all text and delete it
  2. Set Operating System language to Korean and keyboard to Han (Please see attached image).
  3. Type any characters
  4. Select all and type: "rk" left arrow, "sk" left arrow, "ek" left arrow, "fk" left arrow

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.

Changed 11 years ago by Jakub Ś

Attachment: ie.png added

comment:3 Changed 10 years ago by Jakub Ś

This issue and #8854 concern same problem.

Changed 10 years ago by Jakub Ś

Attachment: 2014-09-02_1500.swf added

Changed 10 years ago by Jakub Ś

Attachment: 2014-09-02_1503.swf added

Changed 10 years ago by Jakub Ś

Attachment: 2014-09-02_1504.swf added

Changed 10 years ago by Jakub Ś

Attachment: 2014-09-02_1507.swf added

comment:4 Changed 10 years ago by Jakub Ś

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 10 years ago by Jakub Ś

Additional reproduction scenario and screen cast can be found under support ticket no. 8963.

comment:6 Changed 10 years ago by Jakub Ś

Another two issues concerning Korean characters: #12415, #12910.

Last edited 9 years ago by Jakub Ś (previous) (diff)
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