JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-4.0_full
[ckeditor.git] / _source / plugins / specialchar / plugin.js
diff --git a/_source/plugins/specialchar/plugin.js b/_source/plugins/specialchar/plugin.js
deleted file mode 100644 (file)
index 1dcd89b..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
-*/\r
-\r
-/**\r
- * @file Special Character plugin\r
- */\r
-\r
-CKEDITOR.plugins.add( 'specialchar',\r
-{\r
-       requires : [ 'dialog' ],\r
-\r
-       // List of available localizations.\r
-       availableLangs : { cs:1, cy:1, de:1, el:1, en:1, eo:1, et:1, fa:1, fi:1, fr:1, he:1, hr:1, it:1, nb:1, nl:1, no:1, 'pt-br':1, tr:1, ug:1, 'zh-cn':1 },\r
-\r
-       init : function( editor )\r
-       {\r
-               var pluginName = 'specialchar',\r
-                       plugin = this;\r
-\r
-               // Register the dialog.\r
-               CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/specialchar.js' );\r
-\r
-               editor.addCommand( pluginName,\r
-                       {\r
-                               exec : function()\r
-                               {\r
-                                       var langCode = editor.langCode;\r
-                                       langCode = plugin.availableLangs[ langCode ] ? langCode : 'en';\r
-\r
-                                       CKEDITOR.scriptLoader.load(\r
-                                                       CKEDITOR.getUrl( plugin.path + 'lang/' + langCode + '.js' ),\r
-                                                       function()\r
-                                                       {\r
-                                                               CKEDITOR.tools.extend( editor.lang.specialChar, plugin.langEntries[ langCode ] );\r
-                                                               editor.openDialog( pluginName );\r
-                                                       });\r
-                               },\r
-                               modes : { wysiwyg:1 },\r
-                               canUndo : false\r
-                       });\r
-\r
-               // Register the toolbar button.\r
-               editor.ui.addButton( 'SpecialChar',\r
-                       {\r
-                               label : editor.lang.specialChar.toolbar,\r
-                               command : pluginName\r
-                       });\r
-       }\r
-} );\r
-\r
-/**\r
-  * The list of special characters visible in the Special Character dialog window.\r
-  * @type Array\r
-  * @example\r
-  * config.specialChars = [ '"', '’', [ '&custom;', 'Custom label' ] ];\r
-  * config.specialChars = config.specialChars.concat( [ '"', [ '’', 'Custom label' ] ] );\r
-  */\r
-CKEDITOR.config.specialChars =\r
-       [\r
-               '!','"','#','$','%','&',"'",'(',')','*','+','-','.','/',\r
-               '0','1','2','3','4','5','6','7','8','9',':',';',\r
-               '<','=','>','?','@',\r
-               'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O',\r
-               'P','Q','R','S','T','U','V','W','X','Y','Z',\r
-               '[',']','^','_','`',\r
-               'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',\r
-               'q','r','s','t','u','v','w','x','y','z',\r
-               '{','|','}','~',\r
-               "€", "‘", "’", "“", "”", "–", "—", "¡", "¢", "£", "¤", "¥", "¦", "§", "¨", "©", "ª", "«", "¬", "®", "¯", "°", "²", "³", "´", "µ", "¶", "·", "¸", "¹", "º", "»", "¼", "½", "¾", "¿", "À", "Á", "Â", "Ã", "Ä", "Å", "Æ", "Ç", "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï", "Ð", "Ñ", "Ò", "Ó", "Ô", "Õ", "Ö", "×", "Ø", "Ù", "Ú", "Û", "Ü", "Ý", "Þ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "÷", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ", "Œ", "œ", "Ŵ", "&#374", "&#373", "ŷ", "‚", "‛", "„", "…", "™", "►", "•", "→", "⇒", "⇔", "♦", "≈"\r
-       ];\r