The forum operates in read-only mode. Please head to StackOverflow for support.
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: //config.language = 'fr'; //config.uiColor = '#AADC6E'; config.extraPlugins = 'format','removeformat'; config.format_p = { element : 'p', attributes : { class : 'response' } }; config.enterMode = CKEDITOR.ENTER_BR; };
Re: Customize the output CKeditor outputs
http://docs.cksource.com/ckeditor_api/s ... .bodyClass
Re: Customize the output CKeditor outputs
Re: Customize the output CKeditor outputs
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: //config.language = 'fr'; //config.uiColor = '#AADC6E'; config.extraPlugins = 'format','removeformat'; config.format_p = { element : 'p', attributes : { class : 'response' } }; config.enterMode = CKEDITOR.ENTER_BR; };adding the config.enterMode allowed me when hitting enter instead of throwing up another p tag it just adds br tags which is what i wanted.
all set thanks!