Opened 11 years ago

Last modified 11 years ago

#10351 confirmed Bug

Opera: Replace Textarea Elements by Class Name sample - CKEditor loses focus

Reported by: Irina Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: IBM Webkit Opera Cc: Teresa Monahan, Satya Minnekanti

Description

Steps:

Open sample attached (Replace Textarea Elements by Class Name) in Opera. Click at very beginning of the editor area.

Expected Result:

Console logs 'editor has focus'

Actual Result:

No logs in the console

By following the same steps in FF

Actual Result:

Console logs 'editor has focus'

Also, it is possible to change the CKEditor version in the sample from 4.1 (svn) to 3.6.6. Then we will get desired behaviour in all browsers.

To change the CKeditor version:

Uncomment this line <script src="http://rev.ckeditor.com/ckeditor/trunk/7695/ckeditor.js"></script> to enable version 3.6.6 in the sample provided.

Comment out this line <script src="http://nightly.ckeditor.com/13-04-19-07-42/full/ckeditor.js"></script> to disable version 4.1 in the sample provided.

Attachments (1)

OperaFocusIssue.html (7.0 KB) - added by Irina 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Irina

Attachment: OperaFocusIssue.html added

comment:1 Changed 11 years ago by Jakub Ś

Keywords: Webkit Opera added
Status: newconfirmed
Version: 4.14.0 Beta

Problem can be reproduced in Opera and Webkit from CKEditor 4.0 beta. Whole trick is to click on body padding.

  1. If you click inside content area there is no problem.
  2. In Webkit if you click First on margin (editor will get visual focus) and then inside content area editor will inform you that it has just gained focus.
  3. In Opera if you click first on margin (editor will get visual focus) and then inside content area editor will not display any message. That way one can bypass focus event in Opera. The only way to get alert is to click inside content area.

NOTE: I think alert is better here and allows getting better results.

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