Approved!

On 9/8/10 1:04 PM, [email protected] wrote:
Change philip-20100908-0hn by phi...@philip-i7 on 2010-09-08 15:56:43 EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: RTE: Add support for extra_plugins

New Features:

Bugs Fixed: LPP-9355

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:

Details:

rte.lzx
- Send the list of extra plugins to rtemanager
rtemanager.lzx
- Save extra plugins in __extraplugins (setExtraPlugins)
- Add extra plugins to djConfig.require array.

Tests:

This test app demonstrates how to load a new plugin and display it in
the toolbar. Note, the plugin is quirky (with a small icon) and displays
console messages in Firefox. I chose it because I will use it to resolve
LPP-9351

<canvas width="100%" height="100%">
<include href="extensions/rte.lzx"/>
<rte width="600" height="400"
extra_plugins="dojox.editor.plugins.UploadImage"
toolbar_order="undo,redo,|,UploadImage">
</rte>
</canvas>


Files:
M lps/components/extensions/rte.lzx
M lps/includes/source/rtemanager.js


Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/philip-20100908-0hn.tar

--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to