#1855: 'p' or 'div'
--------------------------+-------------------------------------------------
  Reporter:  datalink     |       Owner:                 
      Type:  New Feature  |      Status:  closed         
  Priority:  Normal       |   Milestone:                 
 Component:  General      |     Version:  FCKeditor 2.5.1
Resolution:  wontfix      |    Keywords:                 
--------------------------+-------------------------------------------------
Changes (by fredck):

  * status:  reopened => closed
  * resolution:  => wontfix

Comment:

 That's the expected behavior for EnterMode=br. This is a visual
 requirement because if you have the following:

 {{{
 Line 1<br>
 Line 2<br>
 Line 3
 }}}

 When indenting "Line 2", you would not expect to have spaces between the
 lines. So, for that, a <div> "must" be used.

 {{{
 Line 1
 <div style="margin-left: 20px">Line 2</div>
 Line 3
 }}}

 Using a <p> there would add spaces between the lines.

 Actually, we strongly recommend always using EnterMode=p. Other than the
 general benefits of it, in that mode, possible "block-less" text will use
 <p> tags instead.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1855#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to