InsertHtmlCommand.execute(html) Method
Executes the InsertHtmlCommand command with the specified parameter.
Declaration
execute(
html: string
): boolean
Parameters
Name | Type | Description |
---|---|---|
html | string | A string that specifies the inserted HTML code. |
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Usage example:
richEdit.commands.insertHtml.execute("<b>SomeBoldText</b>")
richEdit.commands..insertHtml.execute("<table border=\"2\"><tr><td>Text</td></tr></table>")
See Also