The Dreamweaver JavaScript API > File manipulation functions > dom.getTextFormat() |
Availability
Dreamweaver 3.0
Description
Gets the block format of the selected text.
Arguments
None.
Returns
A string containing the block tag associated with the text (for example, "p", "h1", "pre", and so on, or an empty string if no block tag is associated with the selection). This value is always returned in lowercase letters.
Enabler
None.