Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
65 lines
3.4 KiB
JavaScript
65 lines
3.4 KiB
JavaScript
/**
|
|
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
|
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
*/
|
|
|
|
CKEDITOR.editorConfig = function( config ) {
|
|
// Define changes to default configuration here. For example:
|
|
// config.language = 'fr';
|
|
// config.uiColor = '#AADC6E';
|
|
/*config.toolbarGroups = [
|
|
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
|
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
|
|
{ name: 'links' },
|
|
{ name: 'insert' },
|
|
{ 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' }
|
|
];*/
|
|
config.toolbar = [
|
|
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
|
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
|
|
{ name: 'links', items : [ 'Link','Unlink'] },
|
|
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll', ] },
|
|
{ name: 'insert', items : [ 'Image','Table','HorizontalRule','SpecialChar' ] },
|
|
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
|
|
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
|
|
{ name: 'colors', items : [ 'TextColor','BGColor','FontSize' ] },
|
|
{ name: 'document', items : [ 'Source']}
|
|
|
|
/*{ name: 'all', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat',
|
|
'-', 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
|
|
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl',
|
|
'-','Link','Unlink','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ,
|
|
'-', 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt',
|
|
'-','Image','Table','HorizontalRule','SpecialChar','-','Source' ] },
|
|
{ name: 'colors', items : [ 'TextColor','BGColor','FontSize' ] }*/
|
|
];
|
|
|
|
/*
|
|
//Default toolbar
|
|
config.toolbar=[
|
|
{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
|
|
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
|
|
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
|
|
{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',
|
|
'HiddenField' ] },
|
|
'/',
|
|
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
|
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
|
|
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
|
|
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
|
|
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
|
|
'/',
|
|
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
|
|
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
|
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
|
|
]; */
|
|
|
|
};
|