Opened 12 years ago

Last modified 12 years ago

#9427 closed defect

insertHorizontalLine is broken on IE. — at Initial Version

Reported by: Jared Jurkiewicz Owned by: liucougar
Priority: high Milestone: 1.4
Component: Editor Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

This comes from a co-worker: Dojo RTE supports right align layout. But in IE, if add a horizontal line into the paragraph, the right align is broken.

1.Enter some text into the RTE, and click align right. 2.Place the cursor in front of the text, and insert a horizontal line. 3.Check the source code, notice that the <hr> tag is inserted into the <p> tag. 4.The browser will report js error when use the html code to render. 5.The posted content will lost right alignment.

I have a simple fix for this, to special case the inserthorizontalrule action in RichText?, similar to how inserthtml is over-ridden.

The co-worker verified this does fix the problem and my testing of it shows it seems to fix it pretty well. Patch forthcoming.

Change History (0)

Note: See TracTickets for help on using tickets.