Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CKEDITOR.editorConfig = function( config )
- {
- config.fillEmptyBlocks = false ;
- config.disableNativeSpellChecker = false;
- config.browserContextMenuOnCtrl = true;
- config.DekiTabSpaces = 2;
- config.extraPlugins = "mdc,definitionlist,tablesort,enterkey";
- config.toolbar_MDC = [
- ['MindTouchDeki_Save', '-', 'Source'],
- ['Undo' , 'Redo', '-', 'Find', 'Replace', '-', 'RemoveFormat', '-', 'TextColor', 'BGColor'],
- ['MindTouchDeki_InsertExtension', '-', 'MindTouchDeki_Transform'],
- '/',
- ['MindTouchDeki_Cancel'],
- ['PasteText'],
- ['Bold', 'Italic', 'Underline', 'StrikeThrough', '-', 'DefinitionList','DefinitionTerm','DefinitionDescription','-','OrderedList', 'UnorderedList', '-', 'Outdent', 'Indent', 'Blockquote', 'CreateDiv'],
- ['MindTouchDeki_InsertLink','Unlink', 'Anchor', '-', 'MindTouchDeki_InsertImage', 'MindTouchDeki_AttachImage', 'MindTouchDeki_InsertVideo', 'MindTouchDeki_InsertTemplate', 'Table'],
- '/',
- ['Style', 'FontFormat', 'FontName' ,'FontSize', '-', 'FitWindow']
- ] ;
- config.toolbar = 'MDC';
- config.stylesSet =
- [
- { name: "None", element: 'p' },
- { name: "Code (inline)", element: 'code' },
- { name: "Note box", element: 'div', attributes: { 'class': 'note' }},
- { name: "Warning box", element: 'div', attributes: { 'class': 'warning' }},
- { name: "Disable wiki processing", element: 'span', attributes: { 'class': 'plain' }}
- ];
- config.fontNames= 'Courier New;Helvetica;Verdana;Georgia;Times New Roman' ;
- }
Add Comment
Please, Sign In to add comment