Hi, first thing ; thank you.
I was searching a script like that, and i found it. Useful, powerful, perfect.
But I have a problem. It may be already listed somewhere, but I could not find anything, so I just post.
What I want :
User post content via CKEditor, and I get what he posted by Ajax to have some preview included in my design.
What I do :
So, I have my CKEditor script in a <form>, basic :
<form action='' method='POST' onsubmit='addNews(this.content.value);return false'> <textarea name="content">Blah !</textarea> <script type="text/javascript"> CKEDITOR.replace( 'content', { language : 'fr', uiColor : '#C3CBCA', contentsLanguage : 'fr', scayt_sLang : 'fr_FR', font_names : 'Verdana', width : '835px', height : '500px', resize_enabled : 'false', toolbar_Full : [ ['Source','-','-','Templates'], ['Copy','Paste','-','Print', 'SpellChecker', 'Scayt'], ['Undo','Redo','-','Find','Replace','-','SelectAll'], '/', ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'], '/', ['Styles','Format','Font','FontSize'], ['TextColor','BGColor'], ['ShowBlocks'] ] }); </script> <input type='submit' value='Aperçu' /> </form>