window.Asc.plugin.executeMethod("PasteHtml", [args], callback)

Description

Defines the method that allows pasting text in html format into the document.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod("PasteHtml", [htmlText]);

Where htmlText is a string value that specifies the text in html format to be pasted into the document.

Returns

The method returns the undefined value.

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