Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6408 closed enhancement (fixed)

Editor: only enable outdent/indent when appropriate

Reported by: liucougar Owned by: liucougar
Priority: high Milestone: 1.2
Component: Editor Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description

should not allow user to indent neither a non-list node nor list item which is the first item in its parent

should not allow user to outdent a non-list node

Change History (3)

comment:1 Changed 11 years ago by liucougar

Resolution: fixed
Status: newclosed

comment:2 Changed 10 years ago by bill

This was changed in [13262].

Change was for the following reasons (according to Cougar):

  • On one or more browsers, if you indent a block of text you can't get it to unindent.
  • works differently on different browsers. some use <blockquote>, others adjust the paragraphs padding/margin.

Note also that adding a <blockquote> to the list of formatting options (along with <p>, <h1>, <h2>, <ul>, etc.) is problematic because there's apparently no way to convert a <blockquote> to a <p>. Since a <blockquote> can contain multiple paragraphs, selecting <p> just inserts a paragraph into the blockquote.

comment:3 Changed 10 years ago by bill

Note: rolled back in [18437], after normalizing every browser to use <blockquote> in [18417].

Note: See TracTickets for help on using tickets.