my problem is the \r\n\t and \r\n character that ckeditor append in the string entered by user, even if the text field contains only one word or is empty.
There is a way to disable it?
i search in the forum but i find only this post for fckeditor: http://cksource.com/forums/viewtopic.php?f=5&t=11502
and the property isn't valid for ckeditor.
this is my config:
CKEDITOR.editorConfig = function (config) { // Define changes to default configuration here. For example: config.language = 'it'; config.uiColor = '#A6C9E2'; config.htmlEncodeOutput = 'false'; config.AutoUpdateElement = 'true'; config.resize_dir = 'vertical'; config.height = '100'; config.toolbar = 'MyToolbar'; config.extraPlugins = 'ajax'; config.resize_minHeight = '40'; config.toolbar_MyToolbar = [ { name: 'documento', items: ['Print', 'Maximize'] }, { name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] }, { name: 'editing', items: ['Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'] } ]; config.removePlugins = 'elementspath'; config.scayt_sLang = 'it_IT'; };
Re: disable \r\n\t
Re: disable \r\n\t
Re: disable \r\n\t
might help you I guess.
Re: disable \r\n\t
Thanks for your help, it's what i nedd but i use the aspx control in this way: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/ASP.NET/Integration_Advanced so i don't use javascript code to use the editor and i don't know where to write the code for modifyng the HTML Writer
Re: disable \r\n\t
(untested)
Re: disable \r\n\t
Is that it?
Is that really the best anyone can come up with for this problem? So, every paragraph tag gets \r\n put in to it and you have to write code to constantly remove it!
Says 'editor' is an unknown
Says 'editor' is an unknown object when I run the code above.