Roo/form/HtmlEditor/ToolbarStandard.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 16 Aug 2010 09:25:20 +0000 (17:25 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 16 Aug 2010 09:25:20 +0000 (17:25 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index c337e0d..3add664 100644 (file)
@@ -297,8 +297,8 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     
                     html: this.specialChars[i],
                     handler: function(a,b) {
-                        //editor.insertAtCursor(String.fromCharCode(a.text.replace('&#','').replace(';', '')));
-                        editor.insertAtCursor(a.html.replace('&#','').replace(';', '')));
+                        editor.insertAtCursor(String.fromCharCode(a.html.replace('&#','').replace(';', '')));
+                        
                     },
                     tabIndex:-1
                 });