|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/junsu/admin/lib/ckeditor5/ |
Upload File : |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
config.language = 'ja';
// config.uiColor = '#AADC6E';
config.toolbarGroups = [
{ name: 'styles' },
//{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
//{ name: 'editing', groups: [ 'find', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert'}, { name: 'embed'}, { name: 'video'},
{ name: 'document', groups: [ 'mode'] },
//{ name: 'others' },
//'/',
// { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'basicstyles', groups: [ 'basicstyles'] },
//{ name: 'paragraph', groups: [ 'list', 'align'] },
{ name: 'paragraph', groups: ['align'] },
{ name: 'colors' }
];
// Remove some buttons provided by the standard plugins, which are
// not needed in the Standard(s) toolbar.
config.removeButtons = 'Styles,Table,Underline,Strike,Subscript,Superscript,Flash,Iframe,Smiley,Save,Anchor,Print,Preview,ShowBlocks,Templates,Font,PageBreak';
// Set the most common block elements.
config.extraPlugins = 'embed';
config.extraPlugins = 'video';
config.format_tags = 'p;h1;h2;h3;pre';
config.extraPlugins = 'youtube';
// Simplify the dialog windows.
config.removeDialogTabs = 'image:advanced;link:advanced;link:upload';
config.allowedContent = true;
};