hi...
having horrible problems
i am unable to add line breaks to input data..
this is a HUGE problem for me...
on submit these tags are stripped...
i can see them in soruce view
here is my current try at this in my config.js
any thoughts?
this was my previous config file - this also failed...
many thanks for any and all help!
having horrible problems
i am unable to add line breaks to input data..
this is a HUGE problem for me...
on submit these tags are stripped...
i can see them in soruce view
here is my current try at this in my config.js
any thoughts?

CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.skin = 'office2003';
//config.removePlugins = 'elementspath,enterkey,entities,forms,pastefromword,htmldataprocessor,specialchar' ;
// config.toolbar = 'Sites';
// config.toolbar_Sites =
config.skin = 'v2';
config.extraPlugins = 'smeditimage,smimage';
config.smimage_directory = '/site-images/';
config.toolbar = 'Advanced';
config.toolbar = 'Sites';
config.toolbar_Sites =
[
['Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
['Image','SMEditImage','-','Source'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-']
];
};
var writer = editor.dataProcessor.write;
// The character sequence to use for every indentation step.
writer.indentationChars = '\t';
// The way to close self closing tags, like <br />.
writer.selfClosingEnd = ' />';
// The character sequence to be used for line breaks.
writer.lineBreakChars = '\n';
// Set writing rules for the <p> tag.
writer.setRules( 'p',
{
// Indicates that this tag causes indentation on line breaks inside of it.
indent : false,
// Insert a line break before the <p> tag.
breakBeforeOpen : true,
// Insert a line break after the <p> tag.
breakAfterOpen : true,
// Insert a line break before the </p> closing tag.
breakBeforeClose : false,
// Insert a line break after the </p> closing tag.
breakAfterClose : true
});this was my previous config file - this also failed...

CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.skin = 'office2003';
//config.removePlugins = 'elementspath,enterkey,entities,forms,pastefromword,htmldataprocessor,specialchar' ;
// config.toolbar = 'Sites';
// config.toolbar_Sites =
config.skin = 'v2';
config.enterMode = CKEDITOR.ENTER_BR;
config.extraPlugins = 'smeditimage,smimage';
config.smimage_directory = '/site-images/';
config.toolbar = 'Advanced';
config.toolbar = 'Sites';
config.toolbar_Sites =
[
['Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
['Image','SMEditImage','-','Source'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-']
];
};
CKEDITOR.on( 'instanceReady', function( ev )
{
// Out self closing tags the HTML4 way, like <br>.
//ev.editor.dataProcessor.writer.selfClosingEnd = '>';
ev.editor.dataProcessor.writer.setRules( 'p',
{
indent : false,
breakBeforeOpen : true,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : true
});
});
many thanks for any and all help!
