From 469474a519eb5456ed3d5ab2a013c9b7a2c78e57 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 8 Jun 2015 13:14:46 +0800 Subject: [PATCH] roojs-core.js roojs-core-debug.js roojs-ui.js roojs-ui-debug.js roojs-all.js roojs-debug.js --- roojs-all.js | 6 +++--- roojs-debug.js | 27 +++++++++++++++------------ roojs-ui-debug.js | 27 +++++++++++++++------------ roojs-ui.js | 6 +++--- 4 files changed, 36 insertions(+), 30 deletions(-) diff --git a/roojs-all.js b/roojs-all.js index af01bbb2ca..526838cfa9 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -929,9 +929,9 @@ this.cblack.push(A);},this);}});Roo.HtmlEditorCore.white=['area','br','img','inp //Roo/form/HtmlEditor.js Roo.form.HtmlEditor=function(A){Roo.form.HtmlEditor.superclass.constructor.call(this,A);if(!this.toolbars){this.toolbars=[];} this.editorcore=new Roo.HtmlEditorCore(Roo.apply({owner:this},A));};Roo.extend(Roo.form.HtmlEditor,Roo.form.Field,{clearUp:true,toolbars:false,resizable:false,height:300,width:500,stylesheets:false,cblack:false,cwhite:false,black:false,white:false,frameId:false,validationEvent:false,deferHeight:true,initialized:false,activated:false,onFocus:Roo.emptyFn,iframePad:3,hideMode:'offsets',actionMode:'container',defaultAutoCreate:{tag:"textarea",style:"width:500px;height:300px;",autocomplete:"off"},initComponent:function(){this.addEvents({initialize:true,activate:true,beforesync:true,beforepush:true,sync:true,push:true,editmodechange:true,editorevent:true,firstfocus:true,autosave:true,savedpreview:true});this.defaultAutoCreate={tag:"textarea",style:'width: '+this.width+'px;height: '+this.height+'px;',autocomplete:"off"};},createToolbar:function(A){Roo.log("create toolbars");if(!A.toolbars||!A.toolbars.length){A.toolbars=[new Roo.form.HtmlEditor.ToolbarStandard()];}for(var i=0;i