CKEDITOR.editorConfig = function( ee_config ) { // Define changes to default configuration here. For example: // Define changes to default configuration here. For example: ee_config.language = 'en-gb'; ee_config.skin = 'obm'; //ee_config.magicline_color = 'blue'; ee_config.magicline_opacity = .3; ee_config.extraPlugins = 'sourcedialog,toolbar,find,sharedspace,autogrow,clipboard,lineutils,widget,contentTextWidget,contentTitledTextWidget,contentTextImageTwoColumns,contentTitledTextImageTwoColumns,contentWrapTextImageRightAlign,contentWrapTitledTextImageRightAlign,contentImageWidget,contentImageTextTwoColumns,contentImageTitledTextTwoColumns,contentImageLeftAlignWrapText,contentImageLeftAlignWrapTitledText,contentTable,spacer4PX,spacer6PX,spacer8PX,spacer10PX,tableresize,tabletools,image'; //ee_config.removePlugins = 'resize,scayt,smiley,magicline,tableresize,liststyle,tabletools,contextmenu'; ee_config.removePlugins = 'sourcearea,resize,scayt,smiley,magicline,liststyle'; ee_config.disableObjectResizing=true; ee_config.uiColor = '#DDDDDD'; ee_config.enterMode = CKEDITOR.ENTER_BR; ee_config.shiftEnterMode = CKEDITOR.ENTER_BR; ee_config.width = 982; ee_config.height = 500; ee_config.autoGrow_minHeight = 475; ee_config.autoGrow_onStartup = true; ee_config.allowedContent = true; ee_config.disableNativeSpellChecker = false; ee_config.browserContextMenuOnCtrl = true; ee_config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP code ee_config.protectedSource.push( /<%[\s\S]*?%>/g ); // ASP code ee_config.protectedSource.push( /(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi ); // ASP.Net code // ALLOW //ee_config.protectedSource.push( //g ); //allows beginning tag //ee_config.protectedSource.push( /<\/span[\s\S]*?\>/g ); //allows ending tag ee_config.toolbar = [ ['Sourcedialog', '-', 'Undo', 'Redo','-','Cut', 'Copy', 'PasteText','-','TextColor','SpellChecker','-','Link', 'Unlink', 'Anchor','-', 'HorizontalRule', 'SpecialChar','-','Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript','-','NumberedList', 'BulletedList','-','JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock','-','DataFields'] ]; //alert(CKEDITOR.version); currently 4.3.2 };