Can anyone suggest why the cleanup button fails to load with this configuration:
$('.makeMeRichTextarea').each( function () { CKEDITOR.replace( this.id , { // Style sheets applied to the content box contentsCss : [ '/style/ckeditor/4.1.2/assets/outputxhtml.css', '/style/default.css', '/style/CKE-SLV.css' ], // Buttons on the toolbar toolbar : [ [ 'Bold', 'Italic' ], [ 'cleanup' ], [ 'Strike' ], [ 'BulletedList', 'NumberedList' ], [ 'Undo', 'Redo' ], [ 'Link' ], [ 'Source' ], [ 'Cut', 'Copy' ], [ 'Paste', 'PasteText', 'PasteFromWord' ], [ 'Maximize' ] ], // Enter key creates a new <p> enterMode : 1, // Load plugins extraPlugins : 'magicline,showblocks', // Switch off the ACF, so very complex content created to // show magicline's power isn't filtered. allowedContent : true, // Hide the default 'Advanced' tab in the add link dialog linkShowAdvancedTab : false, // Hide the default 'Target' tab in the add link dialog linkShowTargetTab : false, // More inviting than the default red magicline_color : 'green', // Attributes to be stripped when 'cleanup' button clicked removeFormatAttributes : 'class,dir,style,lang,width,height,align,hspace,valign,size', // Tags to be stripped when 'cleanup' button clicked removeFormatTags : 'big,del,dfn,dir,font,kbd,q,s,samp,small,span,tt,u,var', // Enable display of block element backgound/guide startupOutlineBlocks : true, // Shift+Enter creates a new <p> (<br/> is blocked) shiftEnterMode : 1, // Spell Check As You Type (powered by a web service) scayt_autoStartup : true }); });
I'd really appreciate the help. I've scoured the documentation and cannot find an answer.
Paul