Geht das und wenn ja wie das ich eine neue Version des CKEditor gegen den bestehen CKEditor austauschen kann ?
verwendete ilch Version: 2.1.x
betroffene Homepage: externer Link
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
/** * @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 ) { // Define changes to default configuration here. // For complete reference see: // http://docs.ckeditor.com/#!/api/CKEDITOR.config config.extraPlugins = 'youtube'; // 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: 'youtube' }, { 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'; };
/** * @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 ) { if (typeof ilchMediaPlugin !== "undefined" && typeof ilchPsPlugin !== "undefined") { CKEDITOR.plugins.addExternal('ilchmedia', ilchMediaPlugin); CKEDITOR.plugins.addExternal('ilchps', ilchPsPlugin); config.extraPlugins = "justify,font,colorbutton,colordialog,youtube,ilchmedia,ilchps"; } else if (typeof ilchMediaPlugin !== "undefined") { CKEDITOR.plugins.addExternal('ilchmedia', ilchMediaPlugin); config.extraPlugins = "justify,font,colorbutton,colordialog,youtube,ilchmedia"; } config.protectedSource.push(/<i[^>]*><\/i>/g); config.protectedSource.push(/<\?[\s\S]*?\?>/g); config.toolbar = 'ilch_html'; config.toolbar_ilch_html = [ { name: 'document', groups: [ 'mode' ], items: [ 'Source' ] }, { name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] }, { name: 'editing', groups: [ 'spellchecker' ], items: [ 'Scayt' ] }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'alignment', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'RemoveFormat' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'BidiLtr', 'BidiRtl', 'Language' ] }, { name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] }, { name: 'insert', items: [ 'Table', 'HorizontalRule' ] }, '/', { name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] }, { name: 'colors', items: [ 'TextColor', 'BGColor' ] }, { name: 'tools', items: [ 'Maximize' ] }, { name: 'others', items: [ 'Youtube' ] }, { name: 'insert', items: [ 'ilchmedia', 'ilchps' ] } ]; };
Geschlossen | ||
Zurück zu Allgemein |