Hello,
I have put some custom styles in the fckconfig.js but they don't seem to work. Here's the code:
When I go in the editor the styles do appear in the 'style' dropdown box. However, when I select some text in the editor and then try to apply the style, nothing happens. In some occasions it just applies the style to the entire content in the editor.
Any suggestions on how to solve this?
Thanks in advance for your replies.
I have put some custom styles in the fckconfig.js but they don't seem to work. Here's the code:
FCKConfig.CustomStyles = { 'Rood kopje' : { Element : 'p', Styles : { 'color' : '#B30838', 'font-weight' : 'bold' } }, 'Blauw kopje' : { Element : 'p', Styles : { 'color' : '#006990', 'font-weight' : 'bold' } }, 'Groen kopje' : { Element : 'p', Styles : { 'color' : '#004813', 'font-weight' : 'bold' } } };
When I go in the editor the styles do appear in the 'style' dropdown box. However, when I select some text in the editor and then try to apply the style, nothing happens. In some occasions it just applies the style to the entire content in the editor.
Any suggestions on how to solve this?
Thanks in advance for your replies.