+++ /dev/null
-/*\r
-Copyright (c) 2003-2011, 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
- // List of available localizations.\r
- availableLangs : { en: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 Special Character dialog.\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
- "€", "‘", "’", "“", "”", "–", "—", "¡", "¢", "£", "¤", "¥", "¦", "§", "¨", "©", "ª", "«", "¬", "®", "¯", "°", "&", "²", "³", "´", "µ", "¶", "·", "¸", "¹", "º", "&", "¼", "½", "¾", "¿", "À", "Á", "Â", "Ã", "Ä", "Å", "Æ", "Ç", "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï", "Ð", "Ñ", "Ò", "Ó", "Ô", "Õ", "Ö", "×", "Ø", "Ù", "Ú", "Û", "Ü", "Ý", "Þ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "÷", "ø", "ù", "ú", "û", "ü", "ü", "ý", "þ", "ÿ", "Œ", "œ", "Ŵ", "Ŷ", "ŵ", "ŷ", "‚", "‛", "„", "…", "™", "►", "•", "→", "⇒", "⇔", "♦", "≈"\r
- ];\r