12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
-
- CKEDITOR.editorConfig = function( config ) {
-
-
- config.plugins = 'inject,basicstyles,oembed,dialogui,dialog,about,a11yhelp,dialogadvtab,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,contextmenu,div,resize,toolbar,elementspath,enterkey,entities,popup,filebrowser,find,fakeobjects,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,justify,menubutton,link,list,liststyle,magicline,maximize,newpage,newPlugin,pagebreak,pastetext,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,stylescombo,tab,table,tabletools,undo,lineutils,widget,notification,onchange,tweetabletext,chart,blockquote,specialchar';
- config.extraPlugins = 'wordcount,polls,twinimg,figure,bootstrapMediaEmbed';
- config.locationMapPath = '/widget/';
- config.wordcount = {
-
- showWordCount: true,
-
- showCharCount: true,
-
-
- countSpacesAsChars: true,
- };
- config.skin = 'moono';
-
-
- config.disableNativeSpellChecker = false;
-
- config.extraAllowedContent = 'a[data-lightbox,data-title,data-lightbox-saved]';
- config.language = 'ru';
-
-
- config.entities = false;
- config.colorButton_enableMore = true;
- config.allowedContent = true;
- config.forcePasteAsPlainText = false;
- config.pasteFilter = 'h2 ul ol li; img[!src, alt]; a[!href]';
- config.pasteFromWordRemoveStyles = true;
- config.templates_replaceContent = false;
- config.chart_configBar = { animation: true };
- config.chart_maxItems = 12;
- config.chart_colors =
- {
-
- fillColor: 'rgba(151,187,205,0.5)',
- strokeColor: 'rgba(151,187,205,0.8)',
- highlightFill: 'rgba(151,187,205,0.75)',
- highlightStroke: 'rgba(151,187,205,1)',
-
- data: [ '#6b8cab', '#2c62a0', '#00b5b0', '#71B232', '#33B22D', '#31B272', '#2DB5B5', '#3172B6', '#3232B6', '#6E31B2', '#B434AF', '#B53071' ]
- }
- config.toolbarGroups = [
- { name: 'document', groups: [ 'mode', 'doctools', 'document' ] },
- { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
- { name: 'forms', groups: [ 'forms' ] },
- { name: 'tools', groups: [ 'tools' ] },
- '/',
- { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
- { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
- { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'paragraph', 'figure' ] },
- '/',
- { name: 'styles', groups: [ 'styles' ] },
- { name: 'colors', groups: [ 'colors' ] },
- { name: 'insert', groups: [ 'insert','bootstrapMediaEmbed' ] },
- { name: 'links', groups: [ 'links' ] },
- { name: 'others', groups: [ 'others' ] },
- { name: 'about', groups: [ 'about' ] }
- ];
- config.removeButtons = 'About,NewPage,Save';
- config.format_tags = 'p;h2;h3;h4;h5;h6;div';
- config.font_names = 'PT Serif;Roboto Condensed;Fira Sans;serif;Arial;Times New Roman;Verdana;Tahoma;sans-serif';
- };
|