Opened 6 years ago

Closed 6 years ago

#3996 closed Bug (duplicate)

startupFocus doesn't work if editor starts in Source mode

Reported by: arczi 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 arczi 6 years ago.
copy to trunk/_source/tests/core/
3996.patch (1.7 KB) - added by garry.yao 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by arczi

copy to trunk/_source/tests/core/

comment:1 Changed 6 years ago by garry.yao

  • Keywords Confirmed added
  • Milestone changed from CKEditor 3.x to CKEditor 3.0
  • Owner set to garry.yao
  • Status changed from new to assigned

Changed 6 years ago by garry.yao

comment:2 Changed 6 years ago by garry.yao

  • Keywords Review? added

comment:3 Changed 6 years ago by fredck

  • Keywords Pending added; Confirmed Review? removed
  • Milestone changed from CKEditor 3.0 to CKEditor 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 6 years ago by arczi

Yes, editor has focus but

editor.focusManager.hasFocus is false;

and

CKEDITOR.currentInstance.name is null;

comment:5 Changed 6 years ago by fredck

  • Keywords Confirmed Review? added; Pending removed

Ok... the ticket descript is misleading so.

comment:6 Changed 6 years ago by tobiasz.cudnik

  • Resolution set to duplicate
  • Status changed from assigned to closed

DUP of #3856.

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