Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13758 closed defect (worksforme)

The indent command generate blockquote element instead of div on firefox

Reported by: hengly Owned by:
Priority: high Milestone: tbd
Component: Editor Version: 1.6.1
Keywords: dojo, editor, indent, blockquote Cc:
Blocked By: Blocking:

Description

1.run the test case

2.input three line words

3.clicking on the second line

4.clicking the indent plugin

Expected: There is no any extra line between the three lines.

Got: Extra line added above and below the indent line

Note:The output of indent command is the blockquote,not the <div margin-left="40px"> element.

Attachments (1)

test.html (695 bytes) - added by hengly 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by hengly

Attachment: test.html added

comment:1 Changed 8 years ago by bill

Resolution: worksforme
Status: newclosed

I belive this is addressed by the NormalizeIndentOutdent plugin, which you need to explicitly specify that your editor use.

I do understand that it's confusing that it doesn't happen automatically, but that's it's setup currently.

comment:2 Changed 8 years ago by hengly

Thanks,I added the plugin,it works fine.

Note: See TracTickets for help on using tickets.