writer.setRules( 'br',
{
// Indicates that this tag causes indentation on line breaks inside of it.
indent : false,
// Insert a line break before the <p> tag.
breakBeforeOpen : false,
// Insert a line break after the <p> tag.
breakAfterOpen : false,
// Insert a line break before the </p> closing tag.
breakBeforeClose : false,
// Insert a line break after the </p> closing tag.
breakAfterClose : false
});
Thu, 07/08/2010 - 12:29
#1

Re: Problems with <br/> when textarea empty !
http://dev.ckeditor.com/ticket/5293
Re: Problems with <br/> when textarea empty !
http://dev.ckeditor.com/ticket/5293
Re: Problems with <br/> when textarea empty !
Re: Problems with <br/> when textarea empty !
// BR at the end of document is mozilla editor bogus node (#5293). if ( CKEDITOR.env.gecko ) { var last = doc.getBody().getLast(); if ( last.type == CKEDITOR.NODE_ELEMENT && last.is( 'br' ) ) last.remove(); }Re: Problems with <br/> when textarea empty !
You must either use ckeditor_source.js instead of ckeditor.js
OR
Recompile ckeditor.js using the ckpackager program.
Re: Problems with <br/> when textarea empty !
Re: Problems with <br/> when textarea empty !