deleteType
Description
This attribute is used to indicate the type of delete to perform. It has different meanings, depending on whether the participant is a directive, a tag, or an attribute. By default, the entire participant is deleted.
Parent
delete
Type
Attribute.
Required
No.
Values
all, none, tagOnly, innerOnly, attribute+attribName, attribute+*
- The
allvalue (default) deletes the entire directive or tag. For attributes, it deletes the entire definition. - The
nonevalue is never automatically deleted. - The
tagOnlyvalue removes only the outer tag but leaves the contents of theinnerHTMLtag intact. For attributes, it also removes the outer tag if it is a block tag. It is meaningless for directives. - The
innerOnlyvalue, when applied to tags, removes only the contents (theinnerHTMLtag). For attributes, it removes only the value. It is meaningless for directives. - The
attribute+attribNamevalue, 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.