Dear all,
CKEditor works great, there is only one problem I have: I want to be able to set a default style. When no style has been chosen, I want CKeditor to assume this style has been selected. Is there a way to do this?
Kind regards,
Yann
CKEditor works great, there is only one problem I have: I want to be able to set a default style. When no style has been chosen, I want CKeditor to assume this style has been selected. Is there a way to do this?
Kind regards,
Yann

Re: Default style
custom stylesetstylescombo/styles/custom.js
CKEDITOR.addStylesSet( 'custom', [ // Define paragraph as the default style. { name : 'Default' , element : 'p' } // Your other styles defined below. //... ]);this config entry
Re: Default style
Thank you very much for your reply.
The situation is as follows: The text in the ckeditor textfield will be placed in a div which has a class applied on it. So, when text is not in an element, it will always still be in this div, and therefore get this 'standard' style applied to it. I want this 'standard' style applied to all text in the ckeditor.
I already aplied the solution you mentioned. But as you cans ee it is not the solution for my problem.