window.Asc.plugin.executeMethod ("PasteHtml", [args], callback)
Defines the method that allows pasting text in the HTML format into the document.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("PasteHtml", [htmlText]);
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" |
The method returns the undefined value.
window.Asc.plugin.executeMethod("PasteHtml", ["<p><b>Plugin methods for OLE objects</b></p><ul><li>AddOleObject</li><li>EditOleObject</li></ul>"]);