X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fludivine-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fskins%2Fmoonocolor%2Fskin.js;fp=sources%2Fskins%2Fmoono%2Fskin.js;h=01f2de852184e6541f81d54f0623bf8ace108161;hp=420b22ecdaba45e029bf19d1e047a2f89505439b;hb=7183f6a6a21ad9124e70c997e0168459f377a9f2;hpb=d1844275460a3e3a32e199326f6b36938a329091 diff --git a/sources/skins/moono/skin.js b/sources/skins/moonocolor/skin.js similarity index 84% rename from sources/skins/moono/skin.js rename to sources/skins/moonocolor/skin.js index 420b22e..01f2de8 100644 --- a/sources/skins/moono/skin.js +++ b/sources/skins/moonocolor/skin.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -31,7 +31,7 @@ For this skin, the following tasks are achieved in this file: // used on config.skin to tell the editor to use the skin. // // This is the only mandatory property to be defined in this file. -CKEDITOR.skin.name = 'moono'; +CKEDITOR.skin.name = 'moonocolor'; // 2. Register browser specific skin files // ----------------------------------------- @@ -276,6 +276,9 @@ CKEDITOR.skin.chameleon = ( function() { // ---------------------------------------------------------- // (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Icons) // +// Note: As "moono" is the default CKEditor skin, it provides no custom icons, +// thus this code is commented out. +// // This code is here just to make the skin work fully when using its "source" // version. Without this, the skin will still work, but its icons will not be // used (again, on source version only). @@ -288,29 +291,29 @@ CKEDITOR.skin.chameleon = ( function() { // If a required icon is not available here, the plugin defined icon will be // used instead. This means that a skin is not required to provide all icons. // Actually, it is not required to provide icons at all. - -( function() { - // The available icons. This list must match the file names (without - // extension) available inside the "icons" folder. - var icons = ( 'about,anchor-rtl,anchor,bgcolor,bidiltr,bidirtl,blockquote,' + - 'bold,bulletedlist-rtl,bulletedlist,button,checkbox,copy-rtl,copy,copyformatting,' + - 'creatediv,cut-rtl,cut,docprops-rtl,docprops,find-rtl,find,flash,form,' + - 'hiddenfield,horizontalrule,icons,iframe,image,imagebutton,indent-rtl,' + - 'indent,italic,justifyblock,justifycenter,justifyleft,justifyright,' + - 'link,maximize,newpage-rtl,newpage,numberedlist-rtl,numberedlist,' + - 'outdent-rtl,outdent,pagebreak-rtl,pagebreak,paste-rtl,paste,' + - 'pastefromword-rtl,pastefromword,pastetext-rtl,pastetext,preview-rtl,' + - 'preview,print,radio,redo-rtl,redo,removeformat,replace,save,scayt,' + - 'select-rtl,select,selectall,showblocks-rtl,showblocks,smiley,' + - 'source-rtl,source,specialchar,spellchecker,strike,subscript,' + - 'superscript,table,templates-rtl,templates,textarea-rtl,textarea,' + - 'textcolor,textfield-rtl,textfield,uicolor,underline,undo-rtl,undo,unlink' ).split( ',' ); - - var iconsFolder = CKEDITOR.getUrl( CKEDITOR.skin.path() + 'icons/' + ( CKEDITOR.env.hidpi ? 'hidpi/' : '' ) ); - - for ( var i = 0; i < icons.length; i++ ) { - CKEDITOR.skin.addIcon( icons[ i ], iconsFolder + icons[ i ] + '.png' ); - } -} )(); +// +// (function() { +// // The available icons. This list must match the file names (without +// // extension) available inside the "icons" folder. +// var icons = ( 'about,anchor-rtl,anchor,bgcolor,bidiltr,bidirtl,blockquote,' + +// 'bold,bulletedlist-rtl,bulletedlist,button,checkbox,copy-rtl,copy,' + +// 'creatediv,cut-rtl,cut,docprops-rtl,docprops,find-rtl,find,flash,form,' + +// 'hiddenfield,horizontalrule,icons,iframe,image,imagebutton,indent-rtl,' + +// 'indent,italic,justifyblock,justifycenter,justifyleft,justifyright,' + +// 'link,maximize,newpage-rtl,newpage,numberedlist-rtl,numberedlist,' + +// 'outdent-rtl,outdent,pagebreak-rtl,pagebreak,paste-rtl,paste,' + +// 'pastefromword-rtl,pastefromword,pastetext-rtl,pastetext,preview-rtl,' + +// 'preview,print,radio,redo-rtl,redo,removeformat,replace,save,scayt,' + +// 'select-rtl,select,selectall,showblocks-rtl,showblocks,smiley,' + +// 'source-rtl,source,specialchar,spellchecker,strike,subscript,' + +// 'superscript,table,templates-rtl,templates,textarea-rtl,textarea,' + +// 'textcolor,textfield-rtl,textfield,uicolor,underline,undo-rtl,undo,unlink' ).split( ',' ); +// +// var iconsFolder = CKEDITOR.getUrl( CKEDITOR.skin.path() + 'icons/' + ( CKEDITOR.env.hidpi ? 'hidpi/' : '' ) ); +// +// for ( var i = 0; i < icons.length; i++ ) { +// CKEDITOR.skin.addIcon( icons[ i ], iconsFolder + icons[ i ] + '.png' ); +// } +// })(); // %REMOVE_END%