Some functional tests - I haven't looked at the code yet:
The example won't run without the firebug console, because console.log
doesn't exist. I'd suggest changing 'console.log()' calls to 'console
&& console.log()' for now.
The icon for the 'All Bold' button (trunk/docs/logo.gif) is missing.
When I click on 'When you click on this text, you can edit it.' and
change the formatting then close the window, the original text doesn't
update. I do see this in the firebug console:
> rte_stop When you click on this <b>text</b>, you can edit it.
> rte_stop
On 7/21/10 1:42 PM, [email protected] wrote:
Change 20100721-philip-4Fh by phi...@philip-i7 on 2010-07-21 16:33:39 EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: RTE component (alpha release)
New Features:
Bugs Fixed: LPP-9217
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
Initial release of rte component. This is an alpha-level release and
supports dhtml only.
/lps/components/extensions/rte.lzx is the lzx component that extends the
html component.
/lps/includes/rtewrapper.html is the html page loaded by each instance
of the rte component. Loads rtemanager.js
rtemanager.js is a stand-alone javascript library loaded by each rte
component.
/lps/includes/source/build.xml minifies rtemanager.js
A list of known issues can be found in rtemanager.js
Tests:
/examples/extensions/rte.lzx shows an rte component on the canvas as
well as the rte component as part of a component window.
Custom buttons are shown on the initial rte. Clicking the Clear button
will clear the text, and clicking the laszlo image will bold all the
text in the window.
Clicking on one of the two lines of text will bring up an rte component
in a window. Changes to the window are written back to the original text
if the move focus off of the component.
Files:
A lps/components/extensions/rte.lzx
A lps/includes/rtewrapper.html
A lps/includes/source/rtemanager.js
M lps/includes/source/build.xml
A examples/extensions/rte.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100721-philip-4Fh.tar
--
Regards,
Max Carlson
OpenLaszlo.org