1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /**
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
- * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
- */
- CKEDITOR.editorConfig = function( config ) {
- // Define changes to default configuration here.
- // For complete reference see:
- // https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
- // The toolbar groups arrangement, optimized for two toolbar rows.
- config.toolbarGroups = [
- { name: 'tools', groups: [ 'tools' ] },
- { name: 'clipboard', groups: [ 'undo', 'clipboard' ] },
- { name: 'links', groups: [ 'links' ] },
- { name: 'insert', groups: [ 'insert' ] },
- { name: 'basicstyles', groups: [ 'cleanup', 'basicstyles' ] },
- { name: 'colors', groups: [ 'colors' ] },
- { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
- { name: 'forms', groups: [ 'forms' ] },
- { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
- '/',
- { name: 'styles', groups: [ 'styles' ] },
- { name: 'others', groups: [ 'others' ] },
- { name: 'about', groups: [ 'about' ] },
- { name: 'document', groups: [ 'document', 'doctools', 'mode' ] }
- ];
- // Remove some buttons provided by the standard plugins, which are
- // not needed in the Standard(s) toolbar.
-
- config.removeButtons = 'About,ShowBlocks,BidiLtr,BidiRtl,Language,Anchor,PageBreak,Iframe,Save,NewPage,ExportPdf,Preview,Print,Templates,Cut,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Blockquote,CreateDiv';
- // Set the most common block elements.
- config.format_tags = 'p;h1;h2;h3;pre';
- // Simplify the dialog windows.
- config.removeDialogTabs = 'image:advanced;link:advanced';
-
- config.extraPlugins += (config.extraPlugins ? ',lineheight' : 'lineheight');
- config.allowedContent = true;
- config.filebrowserUploadUrl = "https://api.mitopowder.online/upload/admin"
- };
|