Javascript API docs incomplete

Last post 05-22-2011, 8:27 PM by Kenneth. 4 replies.
Sort Posts: Previous Next
  •  05-19-2011, 6:27 PM 67627

    Javascript API docs incomplete

    Are there more complete docs that what I found on the site?
     
    The sample shows enumerating instance and getting editor1.IsReady, as well as others, but docs say nothing of this.
     
    As an example, I would like to get the editor height if a user changes it to store and recall later.  So I know there is more than what the docs show - how much more?
  •  05-19-2011, 6:32 PM 67628 in reply to 67627

    Re: Javascript API docs incomplete

    OK, the height was a stupid question
    editor1.style.height
     
    .... but there seem to be other methods and properties not documented - so the question remains.
  •  05-19-2011, 8:24 PM 67630 in reply to 67628

    Re: Javascript API docs incomplete

    Hi jmarcv,
     
    Please refer to http://phphtmledit.com/document/index.htm
     
    "Javascript API" section shows you the API of editor.
     
    "CuteEditor Class Reference" section shows you all the properties and methods of editor.
     
    Hope it help.
     
    Regards,
     
    Ken
  •  05-20-2011, 2:20 PM 67640 in reply to 67630

    Re: Javascript API docs incomplete

    That IS the documentation I said was incomplete.  I have been studying it for a week.
    There is no documentation on
    ExecCommand
    IsReady
     
    IsReady is easy to figure out, but how could I easily know it was available since it is not in docs?
    What else is missing?
    Docs on how  ExecCommand works would be nice.
  •  05-22-2011, 8:27 PM 67654 in reply to 67640

    Re: Javascript API docs incomplete

    Hi jmarcv,
     
    By default, the ExecCommand function can achieve the "toolbar" function by a simple value. Like below.
     
     editor1.ExecCommand("InsertTime");
     
    You can find all the command at http://cutesoft.net/developer+guide/scr/Toolbar_Customization.htm "Template Item" section.
     
    Sorry for your inconvenience.
     
    Regards,
     
    Ken
     
View as RSS news feed in XML