Re: How to disable html auto correction feature

  •  09-03-2010, 8:37 AM

    Re: How to disable html auto correction feature

    Dear Qian,
     
    JavaScript cannot be executed in the editor preview dialog.
     
    If you do need this funtionality, it's better to create the custom dialog (Demo: http://cutesoft.net/example/howto/AddDialogs/cs/create_a_custom_dialog.aspx). When the dialog loads, call the following JavaScript API:
     
    getHTML()
    This method is used for retrieving the content of CuteEditor as HTML.
    Example:

    // get the cute editor instance
    var editor1 = document.getElementById('CE_Editor1_ID);

    // retrieving the content of Cute Editor as HTML
    var content = editor1.getHTML();
    alert(content );
     
    Thanks for asking
     
View Complete Thread