Opened 7 years ago

Closed 7 years ago

#15919 closed defect (invalid)

Dijit.editor.plugins.NormalizeIndentOutdent will indent/outdent whole text in FireFox.

Reported by: Chris Gao Owned by:
Priority: undecided Milestone: tbd
Component: Editor Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

Add plugin Dijit.editor.plugins.NormalizeIndentOutdent? to editor, then click indent/outdent button on toolbar, the whole text indent/outdent instead of the selection lines in FF14 or 15.

Note: The issue only can reproduce in FireFox?.

Change History (2)

comment:1 Changed 7 years ago by Chris Gao

Seems in FireFox?, indent and outdent cannot split selection line to self-reliant DIV then append margin-left style, its just append the style to the parent's DIV.

PS: Some times will bring a blank line behind the indent line also.

comment:2 Changed 7 years ago by Jared Jurkiewicz

Resolution: invalid
Status: newclosed

This behavior matches what common word processors do. They do not indent just a selection when indent is pressed, it indents the whole block. There is no bug here that I can see; the behavior is consistent with Word Processors like Microsoft Word.

Note: See TracTickets for help on using tickets.