#2240: Editor doesn't support XHTML spec for inclusion of <div> <p> etc within a
<li> list item
-----------------------------+----------------------------------------------
 Reporter:  mike.ewins       |        Type:  Bug         
   Status:  new              |    Priority:  High        
Milestone:  FCKeditor 2.6.1  |   Component:  Core : Lists
  Version:  FCKeditor 2.6    |    Keywords:              
-----------------------------+----------------------------------------------
 See Word example for the kind of formatting Travelers (our customer and a
 customer of your with current Support) are attempting to create. Ignore
 the blank paras between list items - clearly these should be removed and
 included as margin between the list items. It is the para following number
 1. that is the particular problem.

 HTML examples as follows:

 Nested list without unnumbered para (from Word):

 <ol type="1"> <li style="margin: 0pt; color: black"><span style="font-
 size: 10pt">The following Exclusions are added to this Network Security
 Section </span> <ol style="margin-top: 0pt" type="a"> <li style="margin:
 10pt 0pt 0pt; color: black"><span style="font-size: 10pt">Damage directly
 or indirectly caused by or resulting from any Computer or
 Telecommunication System used for the purpose of operating or controlling
 machinery or equipment and inter alia this exclusion shall exclude Damage
 directly or indirectly resulting from computer controlled building
 management systems security lighting security cameras and other security
 devices and fire protection devices </span></li> </ol> </li> </ol>

 Nested list with unumbered para inbetween (from Word):

 <ol type="1"> <li style="margin: 0pt; color: black"><span style="font-
 size: 10pt">The following Exclusions are added to this Network Security
 Section </span></li> </ol> <div style="margin: 0pt 0pt 0pt 36pt"><span
 style="font-size: 10pt; color: black">The insurance provided under this
 Network Security Section does not cover</span></div> <ol type="1"> <ol
 type="a"> <li style="margin: 0pt; color: black"><span style="font-size:
 10pt">Damage directly or indirectly caused by or resulting from any
 Computer or Telecommunication System used for the purpose of operating or
 controlling machinery or equipment and inter alia this exclusion shall
 exclude Damage directly or indirectly resulting from computer controlled
 building management systems security lighting security cameras and other
 security devices and fire protection devices </span></li> </ol> </ol>

 Nested list with unumbered para inbetween (manually edited to achieve
 valid XHTML):

 <ol type="1"> <li style="margin: 0pt; color: black"><span style="font-
 size: 10pt">The following Exclusions are added to this Network Security
 Section </span><div style="margin: 0pt 0pt 0pt 36pt"><span style="font-
 size: 10pt; color: black">The insurance provided under this Network
 Security Section does not cover</span></div> <ol type="a"> <li
 style="margin: 0pt; color: black"><span style="font-size: 10pt">Damage
 directly or indirectly caused by or resulting from any Computer or
 Telecommunication System used for the purpose of operating or controlling
 machinery or equipment and inter alia this exclusion shall exclude Damage
 directly or indirectly resulting from computer controlled building
 management systems security lighting security cameras and other security
 devices and fire protection devices </span></li> </ol></li> </ol>

 Example created in the Editor: nested list:

 <ol type="1"> <li><span>The following Exclusions are added to this Network
 Security Section</span> <ol type="a"> <li><span><span style="font-size:
 10pt; color: black; font-family: Arial; mso-fareast-font-family: 'Times
 New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-
 bidi-language: AR-SA">Damage directly or indirectly caused by or resulting
 from any Computer or Telecommunication System used for the purpose of
 operating or controlling machinery or equipment and inter alia this
 exclusion shall exclude Damage directly or indirectly resulting from
 computer controlled building management systems security lighting security
 cameras and other security devices and fire protection devices
 </span></span></li> </ol> </li> </ol>

 Example created in the Editor: nested list with unnumbered para inbetween:

 <ol type="1"> <li><span>The following Exclusions are added to this Network
 Security Section</span></li> </ol> <p style="margin-left: 40px">Unnumbered
 para inbetween.&nbsp;</p> <ol type="a"> <li><span><span style="font-size:
 10pt; color: black; font-family: Arial; mso-fareast-font-family: 'Times
 New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-
 bidi-language: AR-SA">Damage directly or indirectly caused by or resulting
 from any Computer or Telecommunication System used for the purpose of
 operating or controlling machinery or equipment and inter alia this
 exclusion shall exclude Damage directly or indirectly resulting from
 computer controlled building management systems security lighting security
 cameras and other security devices and fire protection devices
 </span></span></li> </ol>


 It generally seems to be very hard to workaround this problem, even in the
 Editor. Travelers are wanting a solution that allows users to create
 freetext clauses in XHTML without needing to understand and code in XHTML.
 However, their developers can't workaround this issue, hence the ticket.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2240>
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