Mini Shell

Direktori : /var/www/vhosts/ccp.ac.th/smtp.ccp.ac.th/httpdocs/smtp/admin/assets/ckeditor_stan/
Upload File :
Current File : /var/www/vhosts/ccp.ac.th/smtp.ccp.ac.th/httpdocs/smtp/admin/assets/ckeditor_stan/config.js

/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. 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: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ] },
		{ name: 'links' },
		{ name: 'insert' },
		{ name: 'forms' },
		{ name: 'tools' },
		{ name: 'document',	   groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'others' },
		'/',
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
		{ name: 'styles' },
		{ name: 'colors' },
		{ name: 'about' }
	];

	// Remove some buttons provided by the standard plugins, which are
	// not needed in the Standard(s) toolbar.
	config.removeButtons = 'Underline,Subscript,Superscript';

	// 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.filebrowserBrowseUrl = 'assets/kcfinder/browse.php?opener=ckeditor&type=files';
   config.filebrowserImageBrowseUrl = 'assets/kcfinder/browse.php?opener=ckeditor&type=images';
   config.filebrowserFlashBrowseUrl = 'assets/kcfinder/browse.php?opener=ckeditor&type=flash';
   config.filebrowserUploadUrl = 'assets/kcfinder/upload.php?opener=ckeditor&type=files';
   config.filebrowserImageUploadUrl = 'assets/kcfinder/upload.php?opener=ckeditor&type=images';
   config.filebrowserFlashUploadUrl = 'assets/kcfinder/upload.php?opener=ckeditor&type=flash';
   config.shiftEnterMode = CKEDITOR.ENTER_BR;
   config.skin = 'moonocolor';
   CKEDITOR.config.allowedContent = true;
   config.protectedSource.push( /<i class[\s\S]*?\><\/i>/g ); // Font Awesome fix
   CKEDITOR.dtd.$removeEmpty['i'] = false;
   config.extraPlugins = 'youtube,bt_table,bootstrapTabs,btbutton,bootstrapVisibility,youtubebootstrap,collapsibleItem,pastefromword,wordcount,notification,link,preview,btgrid,accordionList,colorbutton';
   config.youtube_responsive = true;
   config.youtube_related = true;
   config.youtube_older = false;
   config.youtube_privacy = false;
   config.youtube_autoplay = false;
   config.youtube_controls = true;
   config.forcePasteAsPlainText = true;
   
   
};

Zerion Mini Shell 1.0