X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FHtmlEditorToolbarStandard.js;fp=Roo%2Fbootstrap%2Fhtmleditor%2FToolbarStandard.js;h=002b0101e0553a6346984bae0062f994f41af0da;hp=0932cbf74f536c39b974776b1d5a34c54f9bd791;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/Roo/bootstrap/htmleditor/ToolbarStandard.js b/Roo/bootstrap/form/HtmlEditorToolbarStandard.js similarity index 92% rename from Roo/bootstrap/htmleditor/ToolbarStandard.js rename to Roo/bootstrap/form/HtmlEditorToolbarStandard.js index 0932cbf74f..002b0101e0 100644 --- a/Roo/bootstrap/htmleditor/ToolbarStandard.js +++ b/Roo/bootstrap/form/HtmlEditorToolbarStandard.js @@ -1,16 +1,18 @@ -Roo.namespace('Roo.bootstrap.htmleditor'); +Roo.namespace('Roo.bootstrap.form.HtmlEditor'); /** - * @class Roo.bootstrap.HtmlEditorToolbar1 + * @class Roo.bootstrap.form.HtmlEditorToolbarStandard + * @parent Roo.bootstrap.form.HtmlEditor + * @extends Roo.bootstrap.nav.Simplebar * Basic Toolbar * * @example * Usage: * - new Roo.bootstrap.HtmlEditor({ + new Roo.bootstrap.form.HtmlEditor({ .... toolbars : [ - new Roo.bootstrap.HtmlEditorToolbar1({ + new Roo.bootstrap.form.HtmlEditorToolbarStandard({ disable : { fonts: 1 , format: 1, ..., ... , ...], btns : [ .... ] }) @@ -25,7 +27,7 @@ Roo.namespace('Roo.bootstrap.htmleditor'); * .x-html-editor-tb .x-edit-none .x-btn-text { background: none; } */ -Roo.bootstrap.htmleditor.ToolbarStandard = function(config) +Roo.bootstrap.form.HtmlEditorToolbarStandard = function(config) { Roo.apply(this, config); @@ -37,7 +39,7 @@ Roo.bootstrap.htmleditor.ToolbarStandard = function(config) colors : true, specialElements : true }); - Roo.bootstrap.htmleditor.ToolbarStandard.superclass.constructor.call(this, config); + Roo.bootstrap.form.HtmlEditorToolbarStandard.superclass.constructor.call(this, config); this.editor = config.editor; this.editorcore = config.editor.editorcore; @@ -47,7 +49,7 @@ Roo.bootstrap.htmleditor.ToolbarStandard = function(config) //Roo.form.HtmlEditorToolbar1.superclass.constructor.call(this, editor.wrap.dom.firstChild, [], config); // dont call parent... till later. } -Roo.extend(Roo.bootstrap.htmleditor.ToolbarStandard, Roo.bootstrap.NavSimplebar, { +Roo.extend(Roo.bootstrap.form.HtmlEditorToolbarStandard, Roo.bootstrap.nav.Simplebar, { bar : true, @@ -67,7 +69,7 @@ Roo.extend(Roo.bootstrap.htmleditor.ToolbarStandard, Roo.bootstrap.NavSimplebar, { // Roo.log("Call onRender: " + this.xtype); - Roo.bootstrap.htmleditor.ToolbarStandard.superclass.onRender.call(this, ct, position); + Roo.bootstrap.form.HtmlEditorToolbarStandard.superclass.onRender.call(this, ct, position); Roo.log(this.el); this.el.dom.style.marginBottom = '0'; var _this = this; @@ -246,7 +248,7 @@ Roo.extend(Roo.bootstrap.htmleditor.ToolbarStandard, Roo.bootstrap.NavSimplebar, // hides menus... - so this cant be on a menu... Roo.bootstrap.MenuMgr.hideAll(); */ - Roo.bootstrap.MenuMgr.hideAll(); + Roo.bootstrap.menu.Manager.hideAll(); //this.editorsyncValue(); }, onFirstFocus: function() {