Chrome focuses editor window on page load

Last post 02-18-2013, 8:56 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  02-18-2013, 5:30 PM 76887

    Chrome focuses editor window on page load

    Hi,

     

    I noticed one minor issue when using Chrome browser (15.0.874.121) with latest cuteeditor.

    When page loads the focus is set to the editor window and can scroll page down which is not right behavior and hide the page top notes or so.

    If several editors used on the page - focus can set to any of editors which also is not good.

     

    I didn't noticed the issue with IE7,8. 

     

    I reproduced this behavior on your demo pages.

    For example this one shows me the described behavior:  http://richtextbox.com/cs/default.aspx

    I found that readonly editor doesn't show focus issue:  http://richtextbox.com/cs/readonly.aspx

     

    Thanks

    Filed under:
  •  02-18-2013, 8:56 PM 76889 in reply to 76887

    Re: Chrome focuses editor window on page load

    Hi frome,

     

    If you do not want the focus on the editor by default, please set the focus for other control when the editor load, like below.

     

    function CuteEditor_OnInitialized(editor)
    {
          //focus on other control here
    }
     

    Regards,

     

    ken 

View as RSS news feed in XML