From ea544864b7f68aa922162d4f2c98a681aa95adcb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 29 Nov 2018 17:34:39 +0800 Subject: [PATCH] Roo/bootstrap/htmleditor/ToolbarStandard.js roojs-bootstrap.js roojs-bootstrap-debug.js --- Roo/bootstrap/htmleditor/ToolbarStandard.js | 2 +- roojs-bootstrap-debug.js | 2 +- roojs-bootstrap.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/htmleditor/ToolbarStandard.js b/Roo/bootstrap/htmleditor/ToolbarStandard.js index f12cb7431f..e6d1e017a0 100644 --- a/Roo/bootstrap/htmleditor/ToolbarStandard.js +++ b/Roo/bootstrap/htmleditor/ToolbarStandard.js @@ -103,7 +103,7 @@ Roo.extend(Roo.bootstrap.htmleditor.ToolbarStandard, Roo.bootstrap.NavSimplebar, xtype: 'Button', size : 'sm', xns: Roo.bootstrap, - glyphicon : 'font', + fa : 'font', //html : 'submit' menu : { xtype: 'Menu', diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index e5c42707d6..ccab7bf0d6 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -23990,7 +23990,7 @@ Roo.extend(Roo.bootstrap.htmleditor.ToolbarStandard, Roo.bootstrap.NavSimplebar, xtype: 'Button', size : 'sm', xns: Roo.bootstrap, - glyphicon : 'font', + fa : 'font', //html : 'submit' menu : { xtype: 'Menu', diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 9364bcfe49..f3082adba8 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -1000,7 +1000,7 @@ for(var i=0;i'+f+'',tagname:f,listeners:{click:function(){C.insertTag(this.tagname); +};a.listeners[H?'toggle':'click']=function(){I?I.call(B,this):B.onBtnClick.call(B,G||id);};E.push(a);return a;};var style={xtype:'Button',size:'sm',xns:Roo.bootstrap,fa:'font',menu:{xtype:'Menu',xns:Roo.bootstrap,items:[]}};Roo.each(this.formats,function(f){style.menu.items.push({xtype:'MenuItem',xns:Roo.bootstrap,html:'<'+f+' style="margin:2px">'+f+'',tagname:f,listeners:{click:function(){C.insertTag(this.tagname); D.focus();}}});});E.push(style);F('bold',false,true);F('italic',false,true);F('align-left','justifyleft',true);F('align-center','justifycenter',true);F('align-right','justifyright',true);F('link',false,false,function(G){var H=prompt(this.createLinkText,this.defaultLinkValue); if(H&&H!='http:/'+'/'){this.editorcore.relayCmd('createlink',H);}}),F('list','insertunorderedlist',true);F('pencil',false,true,function(G){Roo.log(this);this.toggleSourceEdit(G.pressed);});if(this.editor.btns.length>0){for(var i=0;i