From 6209611f94aa56fec24858c6146b9ca22dc6fb41 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 8 Jun 2015 17:13:53 +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 | 7 ++- roojs-debug.js | 120 ++++++++++++++++++++++++++++++++++++++++++++++ roojs-ui-debug.js | 120 ++++++++++++++++++++++++++++++++++++++++++++++ roojs-ui.js | 7 ++- 4 files changed, 252 insertions(+), 2 deletions(-) diff --git a/roojs-all.js b/roojs-all.js index 526838cfa9..6dbd7fc532 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -929,7 +929,12 @@ 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