I'm trying to get custom CSS styles to show up in ckeditor, but it's not working.
Here's the opening tag of my editable region code (I tried it without the opening slash before the "js" too):
And my ckeditor_styles.js code is:
I've tried clearing my cache, but it doesn't seem to help. Any ideas? Thanks!
Here's the opening tag of my editable region code (I tried it without the opening slash before the "js" too):
- Code: Select all
<cms:editable name='about_text' label='About Text' css='/style.css' toolbar='basic' custom_styles="my_styles=/js/ckeditor_styles.js" type='richtext'>
And my ckeditor_styles.js code is:
- Code: Select all
CKEDITOR.stylesSet.add( 'my_styles',
[
{ name : 'Bold Text' , element : 'h3' }
]);
I've tried clearing my cache, but it doesn't seem to help. Any ideas? Thanks!