EditLive!'s Advanced API and plugin functionality are only supported with an EditLive! Enterprise Edition license. |
Unlike the standard APIs for EditLive!, which are used in the webpage loading the applet, the advanced APIs are Java classes and interfaces specifying the default functionality of the EditLive! applet. These advanced APIs are used to extend the core functionalities of the applet. The instantiation APIs can then be used when the applet is loaded into a webpage to specify information such as the document and styles loaded into EditLive!.
To use the advanced APIs developers must create a new Java class. In a webpage loading an instance of EditLive!, the following load-time properties can be used to specify this new class to load instance of the default instance of EditLive!:
Any other values specified through the Load Time Methods (e.g. EditLive! configuration file, the XHTML document to be loaded into the editor) are then sent to this newly defined class upon loading EditLive!.
The following steps outline how the advanced APIs are used to customize EditLive!:
The Advanced APIs are used when developers want to customize EditLive! beyond the supported functionality of the Load Time Methods, Run Time Methods, and Configuration File Elements. Some example use cases are: