first commit
This commit is contained in:
26
public/ckeditor/config.js
Executable file
26
public/ckeditor/config.js
Executable file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.editorConfig = function( config ) {
|
||||
config.toolbarGroups = [
|
||||
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
||||
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
|
||||
{ name: 'forms', groups: [ 'forms' ] },
|
||||
{ name: 'tools', groups: [ 'tools' ] },
|
||||
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
|
||||
{ name: 'others', groups: [ 'others' ] },
|
||||
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
|
||||
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
|
||||
{ name: 'styles', groups: [ 'styles' ] },
|
||||
{ name: 'insert', groups: [ 'insert' ] },
|
||||
{ name: 'links', groups: [ 'links' ] },
|
||||
{ name: 'colors', groups: [ 'colors' ] },
|
||||
{ name: 'about', groups: [ 'about' ] }
|
||||
];
|
||||
config.height = '600px';
|
||||
config.filebrowserUploadUrl = '/ckeditor/upload.php';
|
||||
config.removeButtons = 'Underline,Subscript,Superscript,Scayt,Undo,Cut,Copy,Redo,Paste,PasteText,PasteFromWord,Anchor,Maximize,Source,About';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user