I have searched through the documentation and I need to change the settings to the CKEDITOR.config.allowedContent to custom mode so it won't strip <td style="verticle-align:top;">
where do I edit/add this - what file?
I have searched through the documentation and I need to change the settings to the CKEDITOR.config.allowedContent to custom mode so it won't strip <td style="verticle-align:top;">
where do I edit/add this - what file?
You can set it in config.js
You can set it in config.js and on the page itself where the editor is located (prefered method). Here's a sample page. Check the source to see how it's done.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Here's the guide about
Here's the guide about setting configuration.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
thanks
it works thanks!
same Problem
I have the same problem and dont find an answer :(
In the input field/textarea form all works perfekt - so if i creat an "modern" inline editor my html tags where replaced automatical.
here is my code:
html File:
<!-- Load CKEditor --> <script src="./ckeditor/ckeditor.js"></script> <script> CKEDITOR.on( 'instanceCreated', function( event ) { var editor = event.editor, element = editor.element; if ( element.is( 'h1', 'h2', 'h3' ) || element.getAttribute( 'id' ) == 'taglist' ) { editor.on( 'configLoaded', function() { editor.config.toolbar = [{ name: 'document', items: [ 'Bold', '-', 'Italic', '-', 'Underline', '-', 'Strike', '-', 'paragraph', '-', 'Image','Source'] }]; }); } }); </script> <p id="content_part" contenteditable="true"> Lorem Ipsum.... </p>and this is my configuration file with config.allowContent which is not working
CKEDITOR.editorConfig = function( config ) { config.allowedContent = true; config.extraPlugins='htmlbuttons'; config.htmlbuttons = [ { name:'button1', icon:'icon1.png', html:'<p class="special">Hint: It´s a simple warning Field.</p>', title:'Special' } ]; };Please give me a hint - im searching since 3 hours :(
Thanks