ok
Direktori : /home2/selectio/www/geniusgroove.in/crm/backend/js/ |
Current File : //home2/selectio/www/geniusgroove.in/crm/backend/js/ckeditor_config.js |
CKEDITOR.editorConfig = function(config){ config.allowedContent = true; config.extraAllowedContent = 'p(*)[*]{*};div(*)[*]{*};li(*)[*]{*};ul(*)[*]{*}'; CKEDITOR.dtd.$removeEmpty['i'] = false; CKEDITOR.dtd.$removeEmpty.i = 0; config.protectedSource.push(/<i class="fa[s|r|l|b] [A-Za-z0-9\-]+"><\/i>/g); CKEDITOR.dtd.$removeEmpty['span'] = false; config.contentsCss = baseurl+'/backend/plugins/ckeditor/plugins/font-awesome/css/font-awesome.css'; config.enterMode = CKEDITOR.ENTER_BR // pressing the ENTER KEY input <br/> config.shiftEnterMode = CKEDITOR.ENTER_P; //pressing the SHIFT + ENTER KEYS input <p> config.autoParagraph = false; // stops automatic insertion of <p> on focus config.toolbar = 'MyBasic'; config.toolbar_Ques =[ {name: 'wirisplugins', items: ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_formulaEditorChemistry']}, { name: 'document', items : ['Source','Preview','Print'] }, { name: 'clipboard', items : ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo'] }, { name: 'editing', items : ['Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt'] }, { name: 'forms', items : ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'] }, { name: 'basicstyles', items : ['Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat'] }, { name: 'links', items : ['Link','Unlink','Anchor'] }, { name: 'colors', items : ['TextColor','BGColor'] }, '/', { name: 'insert', items : ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'] }, { name: 'paragraph', items : ['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl'] }, { name: 'styles', items : ['Styles','Format','Font','FontSize'] }, ]; // config.uiColor = '#AADC6E'; config.toolbar = 'Evalution'; config.toolbar_Evalution =[ {name: 'wirisplugins', items: ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_formulaEditorChemistry']}, { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline' ] }, { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, { name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] }, { name: 'colors', items: [ 'TextColor', 'BGColor' ] }, ]; config.toolbar = 'FrontCMS'; config.toolbar_FrontCMS =[ { name: 'document', items : ['Source','Preview','Print'] }, { name: 'clipboard', items : ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo'] }, { name: 'editing', items : ['Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt'] }, { name: 'forms', items : ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'] }, { name: 'basicstyles', items : ['Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat'] }, { name: 'links', items : ['Link','Unlink','Anchor'] }, { name: 'colors', items : ['TextColor','BGColor'] }, '/', { name: 'insert', items : ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'] }, { name: 'paragraph', items : ['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl'] }, { name: 'styles', items : ['Styles','Format','Font','FontSize'] }, ]; };