2011-11-09, 02:58:59
charles_i Wrote:Thanks for the feedback! I'm working on this. But to start I need to figure out why this connection doesn't work.
Code:stylesCombo_stylesSet: '/my_styles:/theme/Mine/ckeditorstyles.js',
contentsCss: '/theme/Mine/style.css',
bodyId: 'content'
Are these correct and is the path correct?
stylesCombo_stylesSet:
contentsCss:
Are any of these specific to your example (other than 'Mine' which is the name of my theme)?
Remove the slash in front of my_styles, which is a name, not a path.
stylesCombo_stylesSet must point to a javascript file (absolute, a full URL might work, too), which uses the same name, e.g.:
Code:
CKEDITOR.addStylesSet( 'my_styles',
[
// Block Styles
{ name : 'Normal', element : 'p', attributes : { } },
{ name : 'Motto1', element : 'p', attributes : { 'class' : 'motto1' } },
// Inline Styles
{ name : 'Code', element : 'span', attributes : { 'class' : 'code' } },
]);