Hello,
i would like to define Style definitions. I had a look in mambots/editors/fckeditor/fckconfig.js where you can set the FCKConfig.CustomStyles like:
'Foo' : { Element : 'div' , Styles : { 'color' : '#0050A0', 'font-weight' : 'bold', 'font-size' : '14px' } },
Can i use css classes here, too?
I dont want to hard code the stuff in there, i would rather use my template css definitions.
Thanks,
Mario
i would like to define Style definitions. I had a look in mambots/editors/fckeditor/fckconfig.js where you can set the FCKConfig.CustomStyles like:
'Foo' : { Element : 'div' , Styles : { 'color' : '#0050A0', 'font-weight' : 'bold', 'font-size' : '14px' } },
Can i use css classes here, too?
I dont want to hard code the stuff in there, i would rather use my template css definitions.
Thanks,
Mario
Re: Style definitions
Just specify the element name, and attribute "class" for whatever CSS class you want to use.
Re: Style definitions
I want fck to produce: <li id="list-item-style"> OR <li id="inline-style">
However, my li element does got appear in the dropdown field:
This stuff does:
Any tips or hints would be great!
Thanks,
Mario
Re: Style definitions
Re: Style definitions
I never knew that. Very useful!