Ticket #3996 (closed Bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

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

startupfocus.html (4.2 KB) - added by arczi 5 years ago.
copy to trunk/_source/tests/core/
3996.patch (1.7 KB) - added by garry.yao 5 years ago.

Change History

Changed 5 years ago by arczi

copy to trunk/_source/tests/core/

comment:1 Changed 5 years ago by garry.yao

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

Changed 5 years ago by garry.yao

comment:2 Changed 5 years ago by garry.yao

  • Keywords Review? added

comment:3 Changed 5 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 5 years ago by arczi

Yes, editor has focus but

editor.focusManager.hasFocus is false;

and

CKEDITOR.currentInstance.name is null;

comment:5 Changed 5 years ago by fredck

  • Keywords Confirmed Review? added; Pending removed

Ok... the ticket descript is misleading so.

comment:6 Changed 5 years ago by tobiasz.cudnik

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

DUP of #3856.

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