Name Description Size
element-container.js An implementation of MarkupContainer for Elements that can contain child nodes. Allows editing of tag name, attributes, expanding / collapsing. @param {MarkupView} markupView The markup view that owns this container. @param {NodeFront} node The node to display. 8122
element-editor.js Creates an editor for an Element node. @param {MarkupContainer} container The container owning this editor. @param {NodeFront} node The NodeFront being edited. 38759
html-editor.js A wrapper around the Editor component, that allows editing of HTML. The main functionality this provides around the Editor is the ability to show/hide/position an editor inplace. It only appends once to the body, and uses CSS to position the editor. The reason it is done this way is that the editor is loaded in an iframe, and calling appendChild causes it to reload. Meant to be embedded inside of an HTML page, as in markup.xhtml. @param {HTMLDocument} htmlDocument The document to attach the editor to. Will also use this document as a basis for listening resize events. 5288
markup-container.js The main structure for storing a document node in the markup tree. Manages creation of the editor for the node and a <ul> for placing child elements, and expansion/collapsing of the element. This should not be instantiated directly, instead use one of: MarkupReadOnlyContainer MarkupTextContainer MarkupElementContainer 25536
moz.build 602
read-only-container.js An implementation of MarkupContainer for Pseudo Elements, Doctype nodes, or any other type generic node that doesn't fit for other editors. Does not allow any editing, just viewing / selecting. @param {MarkupView} markupView The markup view that owns this container. @param {NodeFront} node The node to display. 1244
read-only-editor.js Creates an editor for non-editable nodes. 2151
root-container.js Dummy container node used for the root document element. 1514
slotted-node-container.js Slotted node containers never display children and should not react to toggle. 2035
slotted-node-editor.js Stub method for consistency with ElementEditor. 1663
text-container.js An implementation of MarkupContainer for text node and comment nodes. Allows basic text editing in a textarea. @param {MarkupView} markupView The markup view that owns this container. @param {NodeFront} node The node to display. @param {Inspector} inspector The inspector tool container the markup-view 1552
text-editor.js Creates a simple text editor node, used for TEXT and COMMENT nodes. @param {MarkupContainer} container The container owning this editor. @param {DOMNode} node The node being edited. @param {String} type The type of editor to build. This can be either 'text' or 'comment'. 3311