exclude_tag Callback Type
Function prototype:
function funcname (doc, tagname)
exclude_tag is called before a tag is added to the insert markup panel. exclude_tag is also called when a menu is posted that contains tag-type menu items. In this case, if exclude_tag returns 0, the tag menu item is enabled. Otherwise, the menu item is grayed out (made insensitive).
exclude_tag is only called for tags that are in context (that is, it may be inserted at the current cursor position.
|
If the document type definition for your document instance includes the NAMECASE GENERAL NO setting, then the tagname parameter will be case-sensitive.
|