Translator – Adobe Extending Dreamweaver CS4 User Manual

Page 283

Advertising
background image

277

EXTENDING DREAMWEAVER CS4

Server behaviors

Parent

delete

Type
Attribute.

Required
No.

Values
all, none, tagOnly, innerOnly, attribute+attribName, attribute+*

•

The all value (default) deletes the entire directive or tag. For attributes, it deletes the entire definition.

•

The none value is never automatically deleted.

•

The tagOnly value removes only the outer tag but leaves the contents of the

innerHTML

tag intact. For attributes, it

also removes the outer tag if it is a block tag. It is meaningless for directives.

•

The innerOnly value, when applied to tags, removes only the contents (the

innerHTML

tag). For attributes, it

removes only the value. It is meaningless for directives.

•

The attribute+attribName value, when applied to tags, removes only the specified attribute. It is meaningless for
directives and attributes.

•

The attribute+* value removes all attributes for tags. It is meaningless for directives and attributes.

If your server behavior converts selected text into a link, you can remove the link by removing the outer tag only, as
shown in the following example:

<delete deleteType="tagOnly"/>

This example changes a link participant from

<A HREF="...">HELLO</A>

to

HELLO

.

<translator>

Description
This tag provides information for translating a participant so that it can be rendered differently and have a custom
Property inspector.

Parent

implementation

Type
Block tag.

Required
No.

Advertising
This manual is related to the following products: