From 294c1708f3cd12ae21ec2af334dd2602b60ef917 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 16 Feb 2023 18:09:00 +0800 Subject: [PATCH] more changes editor --- docs/json/roodata.json | 1269 ----------------- docs/src/Roo_HtmlEditorCore.js.html | 1 - ...ap_form_HtmlEditorToolbar_Standard.js.html | 15 - docs/symbols/Roo.Component.json | 1 - docs/symbols/Roo.bootstrap.Component.json | 1 - docs/symbols/Roo.bootstrap.nav.Bar.json | 1 - docs/symbols/Roo.bootstrap.nav.Simplebar.json | 1 - docs/symbols/Roo.util.Observable.json | 1 - docs/tree.json | 5 - 9 files changed, 1295 deletions(-) diff --git a/docs/json/roodata.json b/docs/json/roodata.json index bb561d3765..820212758c 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -11171,7 +11171,6 @@ "Roo.bootstrap.form.FieldLabel", "Roo.bootstrap.form.Form", "Roo.bootstrap.form.HtmlEditor", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.form.Input", "Roo.bootstrap.form.Markdown", @@ -72301,7 +72300,6 @@ "Roo.bootstrap.form.FieldLabel", "Roo.bootstrap.form.Form", "Roo.bootstrap.form.HtmlEditor", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.form.Input", "Roo.bootstrap.form.Markdown", @@ -136140,1270 +136138,6 @@ "tree_children" : [], "tree_parent" : [] }, - "Roo.bootstrap.form.HtmlEditorToolbar.Context" : { - "props" : [ - { - "name" : "actionMode", - "type" : "String", - "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl", - "memberOf" : "Roo.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "align", - "type" : "String", - "desc" : "t) alignme", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [ - "left", - "right" - ] - }, - { - "name" : "allowDomMove", - "type" : "Boolean", - "desc" : "Whether the component can move the Dom node when rendering (defaults to true).", - "memberOf" : "Roo.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "arrangement", - "type" : "Boolean", - "desc" : "stacked | justified", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "can_build_overlaid", - "type" : "Boolean", - "desc" : "True if element can be rebuild from a HTML page", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "cls", - "type" : "String", - "desc" : "css class", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "container_method", - "type" : "string", - "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "dataId", - "type" : "string", - "desc" : "cutomer id", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "disableClass", - "type" : "String", - "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").", - "memberOf" : "Roo.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "hideMode", - "type" : "String", - "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display", - "memberOf" : "Roo.Component", - "isOptional" : false, - "optvals" : [ - "display", - "visibility" - ] - }, - { - "name" : "inverse", - "type" : "Boolean", - "desc" : "is inverted color", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "listeners", - "type" : "Object", - "desc" : "list of events and functions to call for this object, \nFor example :\n
\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  
", - "memberOf" : "Roo.util.Observable", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "loadMask", - "type" : "Boolean", - "desc" : "e) loadMask on the b", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [ - "true", - "false" - ] - }, - { - "name" : "main", - "type" : "Boolean", - "desc" : "e) main nav bar? default fal", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [ - "true", - "false" - ] - }, - { - "name" : "name", - "type" : "string", - "desc" : "Specifies name attribute", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "style", - "type" : "String", - "desc" : "any extra css", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "tag", - "type" : "String", - "desc" : "v) default is n", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [ - "header", - "footer", - "nav", - "div" - ] - }, - { - "name" : "tooltip", - "type" : "string", - "desc" : "Text for the tooltip", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - }, - { - "name" : "type", - "type" : "String", - "desc" : "", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [ - "nav", - "pills", - "tabs" - ] - }, - { - "name" : "visibilityEl", - "type" : "string|object", - "desc" : "t) What element to use for visibility (@see getVisibilityEl(", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [ - "el", - "parent" - ] - }, - { - "name" : "weight", - "type" : "String", - "desc" : "e) default is ligh", - "memberOf" : "Roo.bootstrap.nav.Simplebar", - "isOptional" : false, - "optvals" : [ - "light", - "primary", - "secondary", - "success", - "danger", - "warning", - "info", - "dark", - "white" - ] - }, - { - "name" : "xattr", - "type" : "Object", - "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)", - "memberOf" : "Roo.bootstrap.Component", - "isOptional" : false, - "optvals" : [] - } - ], - "events" : [ - { - "name" : "beforedestroy", - "type" : "function", - "desc" : "Fires before the component is destroyed. Return false to stop the destroy.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "beforehide", - "type" : "function", - "desc" : "Fires before the component is hidden. Return false to stop the hide.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "beforerender", - "type" : "function", - "desc" : "Fires before the component is rendered. Return false to stop the render.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "beforeshow", - "type" : "function", - "desc" : "Fires before the component is shown. Return false to stop the show.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "beforetoggle", - "type" : "function", - "desc" : "Fire before toggle the menu", - "sig" : "function (e)\n{\n\n}", - "memberOf" : "Roo.bootstrap.nav.Bar", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "e", - "type" : "Roo.EventObject", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "childrenrendered", - "type" : "function", - "desc" : "Fires when the children have been rendered..", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.bootstrap.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.bootstrap.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "destroy", - "type" : "function", - "desc" : "Fires after the component is destroyed.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "disable", - "type" : "function", - "desc" : "Fires after the component is disabled.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "enable", - "type" : "function", - "desc" : "Fires after the component is enabled.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "hide", - "type" : "function", - "desc" : "Fires after the component is hidden.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "render", - "type" : "function", - "desc" : "Fires after the component is rendered.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "show", - "type" : "function", - "desc" : "Fires after the component is shown.", - "sig" : "function (_self)\n{\n\n}", - "memberOf" : "Roo.Component", - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "params" : [ - { - "name" : "this", - "type" : "Roo.Component", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - } - ], - "methods" : [ - { - "name" : "addEvents", - "type" : "function", - "desc" : "Used to define events on this Observable", - "sig" : "(object)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "object", - "type" : "Object", - "desc" : "The object with the events defined", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "addListener", - "type" : "function", - "desc" : "Appends an event handler to this component", - "sig" : "(eventName, handler, scope, options)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "eventName", - "type" : "String", - "desc" : "The type of event to listen for", - "isOptional" : false - }, - { - "name" : "handler", - "type" : "Function", - "desc" : "The method the event invokes", - "isOptional" : false - }, - { - "name" : "scope", - "type" : "Object", - "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.", - "isOptional" : false - }, - { - "name" : "options", - "type" : "Object", - "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:
\n

\nCombining Options
\nUsing the options argument, it is possible to combine different types of listeners:
\n
\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t

\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t
\n

\nAttaching multiple handlers in 1 call
\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n

\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t
\n

\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t

\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t
", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "capture", - "type" : "function", - "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\nbefore the event is fired. If the supplied function returns false,\nthe event will not fire.", - "sig" : "(o, fn, scope)", - "static" : true, - "memberOf" : "Roo.util.Observable", - "isStatic" : true, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "o", - "type" : "Observable", - "desc" : "The Observable to capture", - "isOptional" : false - }, - { - "name" : "fn", - "type" : "Function", - "desc" : "The function to call", - "isOptional" : false - }, - { - "name" : "scope", - "type" : "Object", - "desc" : "(optional) The scope (this object) for the fn", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "collapse", - "type" : "function", - "desc" : "Collapse the navbar pulldown", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.nav.Bar", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "destroy", - "type" : "function", - "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "disable", - "type" : "function", - "desc" : "Disable this component.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [ - { - "name" : "", - "type" : "Roo.Component", - "desc" : "this" - } - ] - }, - { - "name" : "enable", - "type" : "function", - "desc" : "Enable this component.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [ - { - "name" : "", - "type" : "Roo.Component", - "desc" : "this" - } - ] - }, - { - "name" : "expand", - "type" : "function", - "desc" : "Expand the navbar pulldown", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.nav.Bar", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "fireEvent", - "type" : "function", - "desc" : "Fires the specified event with the passed parameters (minus the event name).", - "sig" : "(eventName, args)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "eventName", - "type" : "String", - "desc" : "", - "isOptional" : false - }, - { - "name" : "args", - "type" : "Object...", - "desc" : "Variable number of parameters are passed to handlers", - "isOptional" : false - } - ], - "returns" : [ - { - "name" : "", - "type" : "Boolean", - "desc" : "returns false if any of the handlers return false otherwise it returns true" - } - ] - }, - { - "name" : "focus", - "type" : "function", - "desc" : "Try to focus this component.", - "sig" : "(selectText)", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "selectText", - "type" : "Boolean", - "desc" : "True to also select the text in this component (if applicable)", - "isOptional" : false - } - ], - "returns" : [ - { - "name" : "", - "type" : "Roo.Component", - "desc" : "this" - } - ] - }, - { - "name" : "getChildContainer", - "type" : "function", - "desc" : "Fetch the element to add children to", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [ - { - "name" : "", - "type" : "Roo.Element", - "desc" : "defaults to this.el" - } - ] - }, - { - "name" : "getEl", - "type" : "function", - "desc" : "Returns the underlying {@link Roo.Element}.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [ - { - "name" : "", - "type" : "Roo.Element", - "desc" : "The element" - } - ] - }, - { - "name" : "getId", - "type" : "function", - "desc" : "Returns the id of this component.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [ - { - "name" : "", - "type" : "String", - "desc" : "" - } - ] - }, - { - "name" : "getVisibilityEl", - "type" : "function", - "desc" : "Get the element that will be used to show or hide", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "hasListener", - "type" : "function", - "desc" : "Checks to see if this object has any listeners for a specified event", - "sig" : "(eventName)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "eventName", - "type" : "String", - "desc" : "The name of the event to check for", - "isOptional" : false - } - ], - "returns" : [ - { - "name" : "", - "type" : "Boolean", - "desc" : "True if the event is being listened for, else false" - } - ] - }, - { - "name" : "hide", - "type" : "function", - "desc" : "Hide a component - adds 'hidden' class", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "initEvents", - "type" : "function", - "desc" : "Initialize Events for the element", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "isVisible", - "type" : "function", - "desc" : "Returns true if this component is visible.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "on", - "type" : "function", - "desc" : "Appends an event handler to this element (shorthand for addListener)", - "sig" : "(eventName, handler, scope, options)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "eventName", - "type" : "String", - "desc" : "The type of event to listen for", - "isOptional" : false - }, - { - "name" : "handler", - "type" : "Function", - "desc" : "The method the event invokes", - "isOptional" : false - }, - { - "name" : "scope", - "type" : "Object", - "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.", - "isOptional" : false - }, - { - "name" : "options", - "type" : "Object", - "desc" : "(optional)", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "purgeListeners", - "type" : "function", - "desc" : "Removes all listeners for this object", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "releaseCapture", - "type" : "function", - "desc" : "Removes all added captures from the Observable.", - "sig" : "(o)", - "static" : true, - "memberOf" : "Roo.util.Observable", - "isStatic" : true, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "o", - "type" : "Observable", - "desc" : "The Observable to release", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "removeListener", - "type" : "function", - "desc" : "Removes a listener", - "sig" : "(eventName, handler, scope)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "eventName", - "type" : "String", - "desc" : "The type of event to listen for", - "isOptional" : false - }, - { - "name" : "handler", - "type" : "Function", - "desc" : "The handler to remove", - "isOptional" : false - }, - { - "name" : "scope", - "type" : "Object", - "desc" : "(optional) The scope (this object) for the handler", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "render", - "type" : "function", - "desc" : "If this is a lazy rendering component, render it to its container element.", - "sig" : "(container)", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "container", - "type" : "String/HTMLElement/Element", - "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "setDisabled", - "type" : "function", - "desc" : "Convenience function for setting disabled/enabled by boolean.", - "sig" : "(disabled)", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "disabled", - "type" : "Boolean", - "desc" : "", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "setVisibilityEl", - "type" : "function", - "desc" : "Set the element that will be used to show or hide", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "setVisible", - "type" : "function", - "desc" : "Convenience function to hide or show this component by boolean.", - "sig" : "(visible)", - "static" : false, - "memberOf" : "Roo.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "visible", - "type" : "Boolean", - "desc" : "True to show, false to hide", - "isOptional" : false - } - ], - "returns" : [ - { - "name" : "", - "type" : "Roo.Component", - "desc" : "this" - } - ] - }, - { - "name" : "show", - "type" : "function", - "desc" : "Show a component - removes 'hidden' class", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - }, - { - "name" : "tooltipEl", - "type" : "function", - "desc" : "Fetch the element to display the tooltip on.", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "Roo.bootstrap.Component", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [ - { - "name" : "", - "type" : "Roo.Element", - "desc" : "defaults to this.el" - } - ] - }, - { - "name" : "un", - "type" : "function", - "desc" : "Removes a listener (shorthand for removeListener)", - "sig" : "(eventName, handler, scope)", - "static" : false, - "memberOf" : "Roo.util.Observable", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [ - { - "name" : "eventName", - "type" : "String", - "desc" : "The type of event to listen for", - "isOptional" : false - }, - { - "name" : "handler", - "type" : "Function", - "desc" : "The handler to remove", - "isOptional" : false - }, - { - "name" : "scope", - "type" : "Object", - "desc" : "(optional) The scope (this object) for the handler", - "isOptional" : false - } - ], - "returns" : [] - }, - { - "name" : "updateToolbar", - "type" : "function", - "desc" : "Protected method that will not generally be called directly. It triggers\na toolbar update by reading the markup state of the current selection in the editor.\n\nNote you can force an update by calling on('editorevent', scope, false)", - "sig" : "()\n{\n\n}", - "static" : false, - "memberOf" : "", - "isStatic" : false, - "isConstructor" : false, - "isPrivate" : false, - "example" : "", - "deprecated" : "", - "since" : "", - "see" : "", - "exceptions" : "", - "requires" : "", - "params" : [], - "returns" : [] - } - ], - "isAbstract" : false, - "isBuilderTop" : false, - "implementations" : [], - "tree_children" : [], - "tree_parent" : [ - "Roo.bootstrap.form.HtmlEditor" - ] - }, "Roo.bootstrap.form.HtmlEditorToolbar.Standard" : { "props" : [ { @@ -174826,7 +173560,6 @@ "implementations" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar", "Roo.bootstrap.nav.Sidebar", @@ -184927,7 +183660,6 @@ "implementations" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar" ], @@ -320880,7 +319612,6 @@ "Roo.bootstrap.form.FieldLabel", "Roo.bootstrap.form.Form", "Roo.bootstrap.form.HtmlEditor", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.form.Input", "Roo.bootstrap.form.Markdown", diff --git a/docs/src/Roo_HtmlEditorCore.js.html b/docs/src/Roo_HtmlEditorCore.js.html index 76e9aaa0c7..cfce2cea93 100644 --- a/docs/src/Roo_HtmlEditorCore.js.html +++ b/docs/src/Roo_HtmlEditorCore.js.html @@ -907,7 +907,6 @@ break; case 'bold': case 'italic': - case 'underline': // if there is no selection, then we insert, and set the curson inside it.. this.execCmd('styleWithCSS', false); break; diff --git a/docs/src/Roo_bootstrap_form_HtmlEditorToolbar_Standard.js.html b/docs/src/Roo_bootstrap_form_HtmlEditorToolbar_Standard.js.html index 1f235d8b55..b7c7727a73 100644 --- a/docs/src/Roo_bootstrap_form_HtmlEditorToolbar_Standard.js.html +++ b/docs/src/Roo_bootstrap_form_HtmlEditorToolbar_Standard.js.html @@ -135,14 +135,8 @@ }); children.push(style); -<<<<<<< Updated upstream btn('bold', false,true); btn('italic', false,true); -======= - btn('bold', 'bold',true); - btn('italic', 'italic',true); - btn('underline', 'underline',true); ->>>>>>> Stashed changes btn('align-left', 'justifyleft',true); btn('align-center', 'justifycenter',true); btn('align-right' , 'justifyright',true); @@ -335,11 +329,7 @@ var hasToggle = false; btns.each(function(e) { if (e.enableToggle && e.cmd) { -<<<<<<< Updated upstream hasToggle = hasToggle || (['align-left', 'align-right', 'align-center'].indexOf(e.btnid) < 0 && doc.queryCommandState(e.cmd)); -======= - hasToggle = hasToggle || (['align-left', 'align-right', 'align-center', 'image' , 'link', 'underline'].indexOf(e.btnid) < 0 && doc.queryCommandState(e.cmd)); ->>>>>>> Stashed changes e.setActive(doc.queryCommandState(e.cmd)); } }, this); @@ -400,11 +390,6 @@ } btns.get('link').setActive(tn == 'A' && this.selectedNode.hasAttribute('href')); -<<<<<<< Updated upstream -======= - btns.get('image').setActive(tn == 'IMG' || this.editorcore.enableBlocks && tn == 'FIGURE'); - btns.get('underline').setActive(tn == 'U' || sel.closest('u') ? true : false); ->>>>>>> Stashed changes Roo.bootstrap.menu.Manager.hideAll(); diff --git a/docs/symbols/Roo.Component.json b/docs/symbols/Roo.Component.json index 6cf0277b6a..e88eabcac1 100644 --- a/docs/symbols/Roo.Component.json +++ b/docs/symbols/Roo.Component.json @@ -20,7 +20,6 @@ "Roo.bootstrap.nav.Simplebar" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar" ], diff --git a/docs/symbols/Roo.bootstrap.Component.json b/docs/symbols/Roo.bootstrap.Component.json index d024040bc0..ed9818d431 100644 --- a/docs/symbols/Roo.bootstrap.Component.json +++ b/docs/symbols/Roo.bootstrap.Component.json @@ -12,7 +12,6 @@ "Roo.bootstrap.nav.Simplebar" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar" ], diff --git a/docs/symbols/Roo.bootstrap.nav.Bar.json b/docs/symbols/Roo.bootstrap.nav.Bar.json index 322ad0429f..db09c05c33 100644 --- a/docs/symbols/Roo.bootstrap.nav.Bar.json +++ b/docs/symbols/Roo.bootstrap.nav.Bar.json @@ -13,7 +13,6 @@ "Roo.bootstrap.nav.Simplebar" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar" ] diff --git a/docs/symbols/Roo.bootstrap.nav.Simplebar.json b/docs/symbols/Roo.bootstrap.nav.Simplebar.json index 1f7df53237..bdb9e2d562 100644 --- a/docs/symbols/Roo.bootstrap.nav.Simplebar.json +++ b/docs/symbols/Roo.bootstrap.nav.Simplebar.json @@ -10,7 +10,6 @@ "Roo.bootstrap.nav.Simplebar" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar" ] diff --git a/docs/symbols/Roo.util.Observable.json b/docs/symbols/Roo.util.Observable.json index 708212eddf..671c72fe7e 100644 --- a/docs/symbols/Roo.util.Observable.json +++ b/docs/symbols/Roo.util.Observable.json @@ -301,7 +301,6 @@ "Roo.bootstrap.nav.Simplebar" : [ "Roo.bootstrap.PagingToolbar", "Roo.bootstrap.PopoverNav", - "Roo.bootstrap.form.HtmlEditorToolbar.Context", "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "Roo.bootstrap.nav.Headerbar" ], diff --git a/docs/tree.json b/docs/tree.json index 73006c1450..44705278e7 100644 --- a/docs/tree.json +++ b/docs/tree.json @@ -709,11 +709,6 @@ { "name" : "Roo.bootstrap.form.HtmlEditorToolbar", "cn" : [ - { - "name" : "Roo.bootstrap.form.HtmlEditorToolbar.Context", - "cn" : [], - "is_class" : true - }, { "name" : "Roo.bootstrap.form.HtmlEditorToolbar.Standard", "cn" : [], -- 2.39.2