Closed
Bug 316544
Opened 19 years ago
Closed 12 years ago
[Midas] FormatBlock doesn't accept <DIV>
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 546631
People
(Reporter: amla70, Unassigned)
Details
in Bug 189355 was added support for the FormatBlock in Midas emulating IE, but currently it doesn't work with <DIV>, as it adds <<DIV>>. With any option that it doesn't recognize it adds the passed parameter enclosed in <>, so calling execCommand( "FormatBlock", false, "<HELLO>" ) ; will enclose the current node like this: <<HELLO>>contents of the node</<HELLO>> In IE if it doesn't recognize the formatting tag it ignores the command, I don't know if this is a better behaviour or not (with regards to someone who would like to use Midas in a non-HTML way, but the main purpouse of the bug is just to add a line for <DIV> like it was done if https://bugzilla.mozilla.org/attachment.cgi?id=112400&action=view for the other formatting tags. (i would like to have provided that one-line patch, but I don't have the tools to generate patchs)
Updated•17 years ago
|
QA Contact: editor
Updated•17 years ago
|
Assignee: mozeditor → nobody
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•