#2925: Cannot insert a list inside a div container created using the style
dropdown
---------------------+------------------------------------------------------
 Reporter:  tbeatty  |       Owner:     
     Type:  Bug      |      Status:  new
 Priority:  Normal   |   Milestone:     
Component:  General  |     Version:     
 Keywords:           |  
---------------------+------------------------------------------------------
 Added the following style to the fckstyles.xml file:

 <Style name="Online Content" element="div">
    <Attribute name="class" value="pnlOnline" />
 </Style>

 The pnlOnline style class is defined as follows:

 .pnlOnline
 {
     border: dashed 5px Green;
     margin: 5px;
     padding: 5px;
 }

 I create a new div container using the style dropdown box.  (See
 screenshot #1).

 If I move the cursor inside the container and add a list (either ordered
 or unordered), the container is replaced by the list.

 If I add some line breaks inside the container and then add a list while
 the cursor is still inside the container, the list is placed outside the
 container. (See screenshot #2).

 Note: If I create a container using the "Create Div Container" toolbar
 button, apply my custom style, place the cursor inside the new container,
 and then create a list, the list is correctly placed inside the container.

 I have tested this with Internet Explorer 7, Firefox 3, and Chrome on
 Windows Vista with FCKEditor 2.6.3 and the latest nightly build as of Feb.
 19, 2009.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2925>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to