JavaScript API Reference
This section describes the JavaScript API. JavaScript cannot be used to construct an editor but it can be used to interact with the editor once it is running in a browser.
WPro
This is a global JavaScript object through which all editors on the page are accessed.
It also contains numerous useful methods.
wproEditor
These objects can be accessed through the WPro.editors collection. They represent an editor and contain properties and methods for manipulating an editor.
wproRange
These objects contain cross-browser properties and methods for manipulating a range. To get a wproRange object for the current selection or insertion point you would use the selAPI.getRange method.
DIALOG
This global object is available from within dialog plugins and contains lots of useful properties and methods.
Contents
This online documentation specifically covers version 3.0 and above, developers using earlier versions should refer to their PDF or MS-Word manual that was included in the product download.
