TextRange.pasteHTML Method
SharePoint Designer Developer Reference |
Pastes the specified HTML into a range within a document. If anything is selected, the selection is replaced with the new HTML and text.
Syntax
expression.pasteHTML(html)
expression Required. A variable that represents a TextRange object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
html | Required | String | The HTML to paste. May include text as well as HTML. |
See Also