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