From c740c496ab8891da536c9c892fa96900078e8552 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 20 Dec 2019 10:46:44 +0800 Subject: [PATCH] roojs-all.js roojs-debug.js --- roojs-all.js | 2 +- roojs-debug.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roojs-all.js b/roojs-all.js index 97b7f4bd05..92311efd86 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -1861,7 +1861,7 @@ for(var i=0;iCell'} -,{text:"Insert Image",xtype:'MenuItem',xns:Roo.Menu,ihtml:''}],inputElements:["form","input:text","input:hidden","input:checkbox","input:radio","input:password","input:submit","input:button","select","textarea","label"],formats:[["p"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["pre"],["code"],["abbr"],["acronym"],["address"],["cite"],["samp"],["var"],['div'],['span']],cleanStyles:["font-size"],defaultFont:'tahoma',fontSelect:false,formatCombo:false,init:function(A){this.editor=A; +,{text:"Insert Image",xtype:'MenuItem',xns:Roo.Menu,ihtml:''}],inputElements:["form","input:text","input:hidden","input:checkbox","input:radio","input:password","input:submit","input:button","select","textarea","label"],formats:[["p"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["pre"],["code"],["abbr"],["acronym"],["address"],["cite"],["samp"],["var"],['div'],['span'],['sup'],['sub']],cleanStyles:["font-size"],defaultFont:'tahoma',fontSelect:false,formatCombo:false,init:function(A){this.editor=A; this.editorcore=A.editorcore?A.editorcore:A;var B=this.editorcore;var _t=this;var C=B.frameId;var D=this;function btn(id,H,I){var J=C+'-'+id;return {id:J,cmd:id,cls:'x-btn-icon x-edit-'+id,enableToggle:H!==false,scope:_t,handler:I||_t.relayBtnCmd,clickEvent:'mousedown',tooltip:D.buttonTips[id]||undefined,tabIndex:-1} ;}var tb=new Roo.Toolbar(A.wrap.dom.firstChild);this.tb=tb;tb.el.on('click',function(e){e.preventDefault();});if(!this.disable.font){};if(!this.disable.formats){this.formatCombo=new Roo.form.ComboBox({store:new Roo.data.SimpleStore({id:'tag',fields:['tag'],data:this.formats} ),blockFocus:true,name:'',displayField:'tag',typeAhead:false,mode:'local',editable:false,triggerAction:'all',emptyText:'Add tag',selectOnFocus:true,width:135,listeners:{'select':function(c,r,i){B.insertTag(r.get('tag'));A.focus();}}});tb.addField(this.formatCombo); diff --git a/roojs-debug.js b/roojs-debug.js index 225968839e..129b4ecad7 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -45395,7 +45395,8 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, { ["h1"],["h2"],["h3"],["h4"],["h5"],["h6"], ["pre"],[ "code"], ["abbr"],[ "acronym"],[ "address"],[ "cite"],[ "samp"],[ "var"], - ['div'],['span'] + ['div'],['span'], + ['sup'],['sub'] ], cleanStyles : [ -- 2.39.2