instead of having your users select the classes to apply to the lists,
you could come up with some templates.
probably the easiest way would be to have a template file with the
class as a parameter:
<ul class="#listclass#">
<li>Example 1</li>
<li>Example 2</li>
<li>Example 3</li>
</ul>
and then adding each class into your tinyMCE config using a parameter:
template_templates : [
{
title : "List - Menu",
src :
"/tinymcetemplates/listtemplate.cfm?listclass=menu",
description : "Menu (unordered list)"
},
{
title : "List - Sub-menu",
src :
"/tinymcetemplates/listtemplate.cfm?listclass=submenu",
description : "Sub-menu (unordered list)"
}
]
Just an idea.
B.
On Aug 9, 3:06 am, "Jake Churchill" <[EMAIL PROTECTED]> wrote:
> I have a site that I'm transferring to farcry and the layout/css design is
> beautiful. However, they do a lot of things with unordered lists. All of
> the unordered lists have classes associated with them. They want to be able
> to select the UL tag in tinyMCE and apply a style. I've got the styles in
> the dropdown working fine but I can't select the UL tag. It just applies
> the class to all child LI elements. I'm using FC 3.0.2 so I tried FCKEditor
> and you can't select it there either. It doesn't apply the styles to the LI
> elements, it just surrounds everything with a SPAN.
>
> Does anyone know of a fix or workaround to this that doesn't require hacking
> up or re-writing the already beautiful code?
>
> _____
>
> Jake Churchill
> CF Webtools
> 11204 Davenport, Ste. 200b
> Omaha, NE 68154
> HYPERLINK "http://www.cfwebtools.com"http://www.cfwebtools.com
> 402-408-3733 x103
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007
> 4:06 PM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---