tinyMCE and nested lists
Permalink
Hi,
I was just editting a page and added a unordered list with some nested lists. Because I wanted to do some jQuery stuff (clicking on the LI should show the nested UL) I ran into a problem with tinyMCE and some invalid markup (is it?).
Wat I want to create is like this:
The result tinyMCE gives me is like this:
Is this some setting of tinyMCE that will correct the markup? Or is the generated by tinyMCE the desired one?
Snef
I was just editting a page and added a unordered list with some nested lists. Because I wanted to do some jQuery stuff (clicking on the LI should show the nested UL) I ran into a problem with tinyMCE and some invalid markup (is it?).
Wat I want to create is like this:
<ul> <li>Test 1 <ul> <li>Test 1.1</li> </ul> </li> <li>Test 2</li> </ul>
The result tinyMCE gives me is like this:
<ul> <li>Test 1</li> <ul> <li>Test 1.1</li> </ul> <li>Test 2</li> </ul>
Is this some setting of tinyMCE that will correct the markup? Or is the generated by tinyMCE the desired one?
Snef
Old topic but it still seems to be valid.
According to this page:
http://www.tinymce.com/develop/bugtracker_view.php?id=4692...
you can fix that if you enable the "list" plugin. Luckily we can specify a custom configuration in concrete5 which should make this an easy task.
According to this page:
http://www.tinymce.com/develop/bugtracker_view.php?id=4692...
you can fix that if you enable the "list" plugin. Luckily we can specify a custom configuration in concrete5 which should make this an easy task.
For anything more than trivial I would go for the security of knowing exactly what you are getting with an html block.