User Guide
The Insert bar definition file 119
command="API_function"
Description
Instead of referring Dreamweaver to an HTML file with the code to insert, you can use this tag to
specify a command that Dreamweaver performs when the button is clicked with this tag.
Example
command="dw.showTagChooser()"
file="file_path"
Description
The file attribute specifies the path, relative to the Dreamweaver Configuration folder, of an
object file. Dreamweaver derives the tooltip for the object icon from the title of the object file,
unless you specify the
name attribute.
Example
file="Templates/Editable.htm"
tag="editor"
Description
This attribute tells Dreamweaver to invoke a Tag editor. In Code view, if the tag attribute is
defined and the user clicks the object, Dreamweaver invokes the Tag dialog box. In Code view, if
you specify the
tag and command attributes, Dreamweaver invokes the Tag editor. In Design view,
if
codeOnly="TRUE" and you do not specify the file attribute, Dreamweaver MX invokes Split
view, places focus in the code, and invokes the Tag editor.
Example
tag = "form"
name="tooltip_text"
Description
The name attribute specifies the tooltip that appears when the mouse pointer rests over the object.
If you specify an object file but do not specify the name attribute, Dreamweaver uses the name of
the object file for the tooltip.
Note: If the name attribute is not provided, the object will not be available for grouping in the Favorites
category on the Insert bar UI.
Some Insert bar objects use a variation of the name attribute with prefix MMString. The
MMString denotes a localized string; these values are explained in “Localized strings” on page 50.
Example
name = "cfoutput"
Modifying the Insert bar
You can move objects from one category to another, rename categories, and completely remove
objects from the panel. To make the changes appear in the Insert bar, you must either restart
Dreamweaver or reload extensions.