TRY NEW VERSION

PasteHtml

PasteHtml(htmlText)

Pastes text in the HTML format into the document.

Parameters:

Name Type Description
htmlText string

A string value that specifies the text in the HTML format to be pasted into the document.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod ("PasteHtml", ["<p><b>Plugin methods for OLE objects</b></p><ul><li>AddOleObject</li><li>EditOleObject</li></ul>"]);