Changes between Initial Version and Version 1 of Ticket #9427


Ignore:
Timestamp:
Jun 17, 2009, 1:44:37 PM (11 years ago)
Author:
Adam Peller
Comment:

I suggest we try to combine this logic with the inserthtml section.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9427 – Description

    initial v1  
    22Dojo RTE supports right align layout. But in IE, if add a horizontal line into the paragraph, the right align is broken.
    33
    4 1.Enter some text into the RTE, and click align right.
    5 2.Place the cursor in front of the text, and insert a horizontal line.
    6 3.Check the source code, notice that the <hr> tag is inserted into the <p> tag.
    7 4.The browser will report js error when use the html code to render.
    8 5.The posted content will lost right alignment.
     4 1. Enter some text into the RTE, and click align right.
     5 2. Place the cursor in front of the text, and insert a horizontal line.
     6 3. Check the source code, notice that the <hr> tag is inserted into the <p> tag.
     7 4. The browser will report js error when use the html code to render.
     8 5. The posted content will lost right alignment.
    99
    1010I have a simple fix for this, to special case the inserthorizontalrule action in RichText, similar to how inserthtml is over-ridden.