Get Started
Plugins
Macros
More information

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

Description

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

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("PasteHtml", [htmlText]);
Parameters
Parameter Description Type Example
htmlText A string value that specifies the text in the html format to be pasted into the document. string "html text"
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>"]);