]> git.immae.eu Git - perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git/blobdiff - sources/skins/moono/skin.js
Add oembed
[perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git] / sources / skins / moono / skin.js
index 6dbdaa933348716bf2198fbd55c942c59eb0b51c..420b22ecdaba45e029bf19d1e047a2f89505439b 100644 (file)
@@ -1,5 +1,5 @@
 /**\r
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
  * For licensing, see LICENSE.md or http://ckeditor.com/license\r
  */\r
 \r
@@ -276,9 +276,6 @@ 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
@@ -291,29 +288,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,' +\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,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
 // %REMOVE_END%\r