Via a single API, EditLive!'s Select Edit feature will automatically determine the appropriate possible editing environment for the user, letting your editing application remain flexible no matter the environment. EditLive! will load by default, while users without Java will be automatically directed to Enterprise TinyMCE. Additionally, developers will be able to choose the appropriate editor within their own application, allowing for the use of a lightweight alternative when necessary.
- utilizes the Enterprise TinyMCE Product (licensed separately)
- can automatically choose the best possible editor based on the user's environment
- utilizes a single integration API
- replaces the outgoing Express Edit feature in EditLive! 7.5
Initializing Select Edit
To use select edit, you must first secure an additional license for Enterprise TinyMCE. More details on the Enterprise TinyMCE product can be found here. http://tinymce.ephox.com/
Download the latest build of Enterprise TinyMCE (http://tinymce.ephox.com/download), place the unzipped 'tinymce' folder into your existing EditLive! deployment at:
Next, modify your editing page, include both tiny_mce.js as well as expressEdit.js, as seen below. Note the order of the 3 <script> elements - they must be called in order.
Finally, modify your call to the editor, adding the 'setExpressEdit' property, and setting it to "automatic". Note the use of string quotes.
editlivejs = new EditLiveJava("ELApplet", 640, 400);
With the above changes in place, Select Edit is active. By designating the 'setExpressEdit' property to "automatic" Select Edit will choose between EditLive! and Enterprise TinyMCE based on browser compatibility - users incapable of running EditLive! will see Enterprise TinyMCE instead.
Choosing the Editor
The above example will load EditLive! by default and only display Enterprise TinyMCE in situations where EditLive! is unsupported. Developers may choose to load TinyMCE First or only load EditLive!. Further information on setExpressEdit can be found in the EditLive! Reference documentation.
Single Configuration for EditLive! and Enterprise TinyMCE
When using Select Edit, the styles and toolbar buttons specified in the EditLive! configuration file will also be applied to the TinyMCE instance. Note that not all toolbar buttons available to EditLive will be applicable for TinyMCE. For a complete list of EditLive! toolbar buttons which are compatible with TinyMCE please consult theSelect Edit TinyMCE Known Issues article.
Why Enterprise TinyMCE?
Enterprise TinyMCE offers fully tested versions, guaranteed maintenance, a dedicated support team, and access to product experts - unheard of in the open source editing world. This access to Enterprise-level support and the opportunity for commercial licensing will give our customers a truly better overall product - its a big upgrade.
Upgrading from Express Edit
Express Edit (utilizing the CK editor) is no longer available as of EditLive! 7.5. Legacy users of the CK-based Express Edit should plan to migrate over to the Tiny MCE based Select Edit feature. Upgrading is as simple as following the install steps above. Users who had previously set the setExpressEdit property to "always" should update that setting to "automatic" as in the instructions above - enabling the automatic selection between EditLive! and TinyMCE. The "always" setting will force all users onto TinyMCE, regardless of their capability to run EditLive!.
The Select Edit API is backwards compatible. Users currently using the "true", "false" and "always" settings will still function as they did previously, but now with TinyMCE instead of CKEditor.
Please note that Select Edit does not work if you are using Inline Editing to invoke EditLive. We are aware of this limitation and it will be addressed in a future release of EditLive.