﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2925	Cannot insert a list inside a div container created using the style dropdown	tbeatty		"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.


"	Bug	closed	Normal		General		invalid		Garry Yao thomas.arp@…
