Specifications

The Dreamweaver JavaScript API 389
Returns
Nothing.
dom.clipPaste()
Availability
Dreamweaver 3
Description
Pastes the contents of the Clipboard into the current document at the current insertion point or
in place of the current selection. If the Clipboard contains HTML, it is interpreted as such.
Arguments
None.
Returns
Nothing.
Enabler
“dom.canClipPaste()” on page 410
Example
If the Clipboard contains <code>return true;</code>, a call to
dw.getDocumentDOM().clipPaste() results in the following illustration:
dom.clipPasteText()
Availability
Dreamweaver 3
Description
Pastes the contents of the Clipboard into the current document at the insertion point or in place
of the current selection. It replaces any linefeeds in the Clipboard content with
BR tags. If the
Clipboard contains HTML, it is not interpreted; angle brackets are pasted as
&lt; and &gt;.