InsertHtmlCommand.execute(html) Method
In This Article
Executes the InsertHtmlCommand command with the specified parameter.
#Declaration
TypeScript
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