using the Javascript API functions

  •  09-19-2007, 5:28 PM

    using the Javascript API functions

    Hello I've been trying to extend the CuteEditor with the JavaScript API. But I've been unable to have an editor event execute these two functions.
     
    CuteEditor_OnInitialized()
    CuteEditor_OnCommand()
     
    I've looked over the docs and the source from the demo located here.
     
     
    I've even tried cutting and pasting the source methods with no success. Are there other steps required other than just adding the methods in script tags to the head of the document that contains the editor? Do I need to configure from the PHP side or attach events?
     
    FYI - I have been able to successfully use the ExecCommand(). The function seems to work perfect. I have custom buttons that excute commands in the editor. Very cool.
View Complete Thread