TinyMCE: how to set a new style for lists ? Is it possible ?
Posted: Mon May 17, 2010 11:13 am
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.
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.