TinyMCE: how to set a new style for lists ? Is it possible ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Yvan B
Forum Members
Forum Members
Posts: 60
Joined: Thu Apr 08, 2010 3:27 pm

TinyMCE: how to set a new style for lists ? Is it possible ?

Post by Yvan B »

Hi,

I want to customize a style for lists in the TinyMCE editor. I thought it'd be easy and I could simply create a style in my CSS file and add the style name to the list in 'CSS Styles', but it doesn't work. I mean, it works well if you want to print in bold and red, but not for editing lists.

Indeed, and as it says there, if you set something like 'style1' and use it to style some text, the result will look like this:
text

And if you do the same with a list, you will get:


text1
text2


This can't be used, unfortunately. What I want would look like the following:


text1
text2


Does anyone know how this can be achieved ? I know it's possible. I checked the plugin called 'style', but I didn't understand its definition and purpose.
Last edited by Yvan B on Thu May 20, 2010 8:23 am, edited 1 time in total.
Yvan B
Forum Members
Forum Members
Posts: 60
Joined: Thu Apr 08, 2010 3:27 pm

Re: TinyMCE: a new style for lists

Post by Yvan B »

UP !!!

I can't be the only one who tries to make use of 'list-style-image' in order to personalize lists in TinyMCE, can I ? It doesn't seem so weird to me !

So, has anyone any idea how to set style for lists in TinyMCE ?
Yvan B
Forum Members
Forum Members
Posts: 60
Joined: Thu Apr 08, 2010 3:27 pm

Re: TinyMCE: how to set a new style for lists ? Is it possible ?

Post by Yvan B »

For those who'd be interested in the solution:

http://forum.cmsmadesimple.org/index.ph ... 179.0.html
Post Reply

Return to “CMSMS Core”