MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

How to make focus in ckeditor using js?

0
Started on: 31 October 12
Participants: 1

Hi,

I have used the code below to make ckeditor focus but not helped me,

 CKEDITOR.replace('editor1', { on : { instanceReady : function( ev ) { CKEDITOR.instances.editor1.focus(); } } } );

Please help.

Hi,

I have used the code below to make ckeditor focus but not helped me,

CKEDITOR.replace('editor1', { on : { instanceReady : function( ev ) { CKEDITOR.instances.editor1.focus(); } } } ); Please help.

This challenge is listed under Open Source and Development & Implementations Community

Related Posts:

Initiator

Aravinthan
Aravinthan
  Follow

I am passinate about IT & PHP , Let's do it

More posts by: Aravinthan Asokan

Please to reply this post
Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.

1 Suggestion

  1. 09 April 13
    1

    hi try below it will help you, may be you are using more than one instance if not working

    CKEDITOR.replace('editor1', { on: { 'instanceReady': function(evt) { //Set the focus to your editor CKEDITOR.instances.editor1.focus(); } }, });

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top