if (!this.toolbars) {
this.toolbars = [];
}
+
this.editorcore = new Roo.HtmlEditorCore(Roo.apply({ owner : this} , config));
this.addEvents({
/**
* @cfg {Array} toolbars Array of toolbars. - defaults to just the Standard one
*/
toolbars : false,
+
+ /**
+ * @cfg {Array} buttons Array of toolbar's buttons. - defaults to empty
+ */
+ btns : [],
/**
* @cfg {String} resizable 's' or 'se' or 'e' - wrapps the element in a
iframePad:3,
hideMode:'offsets',
-
tbContainer : false,
+ bodyCls : '',
+
toolbarContainer :function() {
return this.wrap.select('.x-html-editor-tb',true).first();
},
* @param {HtmlEditor} editor
*/
createToolbar : function(){
-
+ Roo.log('renewing');
Roo.log("create toolbars");
this.toolbars = [ new Roo.bootstrap.htmleditor.ToolbarStandard({editor: this} ) ];
/**
* @cfg {String} inputType @hide
*/
- /**
- * @cfg {String} invalidClass @hide
- */
+
/**
* @cfg {String} invalidText @hide
*/