Specifications
Chapter 31388
Clipboard functions
Clipboard functions are related to cutting, copying, and pasting. On the Macintosh, some
Clipboard functions can also apply to text boxes in dialog boxes and floating panels. Functions
that can operate in text boxes are implemented as methods of the
dreamweaver object and as
methods of the dom object. The dreamweaver version of the function operates on the selection in
the active window: the current Document window, the Code inspector, or the Site panel. On the
Macintosh, the function can also operate on the selection in a text box if it is the current field.
The
dom version of the function always operates on the selection in the specified document.
dom.clipCopy()
Availability
Dreamweaver 3
Description
Copies the selection, including any HTML markup that defines the selection, to the Clipboard.
Arguments
None.
Returns
Nothing.
dom.clipCopyText()
Availability
Dreamweaver 3
Description
Copies the selected text to the Clipboard, ignoring any HTML markup.
Arguments
None.
Returns
Nothing.
Enabler
“dom.canClipCopyText()” on page 410
dom.clipCut()
Availability
Dreamweaver 3
Description
Removes the selection, including any HTML markup that defines the selection, to the Clipboard.
Arguments
None.