Opened 8 years ago

Closed 8 years ago

#3996 closed Bug (duplicate)

startupFocus doesn't work if editor starts in Source mode

Reported by: Artur Formella Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.1
Component: General Version:
Keywords: Confirmed Review? Cc:

Description

startupFocus doesn't work if editor starts in Source Mode.

Test Case in attachment.

Attachments (2)

startupfocus.html (4.2 KB) - added by Artur Formella 8 years ago.
copy to trunk/_source/tests/core/
3996.patch (1.7 KB) - added by Garry Yao 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by Artur Formella

Attachment: startupfocus.html added

copy to trunk/_source/tests/core/

comment:1 Changed 8 years ago by Garry Yao

Keywords: Confirmed added
Milestone: CKEditor 3.xCKEditor 3.0
Owner: set to Garry Yao
Status: newassigned

Changed 8 years ago by Garry Yao

Attachment: 3996.patch added

comment:2 Changed 8 years ago by Garry Yao

Keywords: Review? added

comment:3 Changed 8 years ago by Frederico Caldeira Knabben

Keywords: Pending added; Confirmed Review? removed
Milestone: CKEditor 3.0CKEditor 3.1

WFM if I add the following setting to the config.js file:

config.startupFocus = true;
config.startupMode = 'source';

Do you have more info on this?

comment:4 Changed 8 years ago by Artur Formella

Yes, editor has focus but

editor.focusManager.hasFocus is false;

and

CKEDITOR.currentInstance.name is null;

comment:5 Changed 8 years ago by Frederico Caldeira Knabben

Keywords: Confirmed Review? added; Pending removed

Ok... the ticket descript is misleading so.

comment:6 Changed 8 years ago by Tobiasz Cudnik

Resolution: duplicate
Status: assignedclosed

DUP of #3856.

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