Change philip-20100916-VuP by phi...@philip-i7 on 2010-09-16 17:39:13 EDT
    in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: RTE: Fix Smiley toolbar icon; Reduce chances of scrollbars in IE

New Features:

Bugs Fixed: LPP-9371 (partial), LPP-9353

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

Documentation:

Release Notes:

Overview:


Details:

rtemanager.js
  - Manually load Smiley css so smiley icon appears in the toolvar
  - setText - Add <p></p> around the specified text
  - getText - Strip off <p></p> from the specified text

rtewrapper.html - Initial text for the editor is <p></p>


Tests:

Test for LPP-9371
- http://localhost:8080/trunk/test/components/extensions/test/rte_test.lzx?lzwmode=transparent
  - Smiley icon is now displayed (last toolbar icon).

Test for LPP-9371
- In IE7/8: http://localhost:8080/trunk/test/components/extensions/test/rte_test.lzx?lzwmode=transparent
  - Click the 'Insert Image' button to insert an image into the editor
  - Click the image to select it
- You should not see any scrollbars in IE. Note. If you right justify the editor contents, and the image is the last thing in the editor, you will see horizontal and veritical scrollbars. I don't have a workaround for this, but I did update the dojo trouble ticket.


Files:
M       lps/includes/rtewrapper.html
M       lps/includes/source/rtemanager.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/philip-20100916-VuP.tar

Reply via email to