Roo/form/HtmlEditor/ToolbarStandard.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 07:07:01 +0000 (15:07 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 07:07:01 +0000 (15:07 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

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