Select HTML Elememt.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'setSelectionByHTMLElement' HTML Element selecting API |
htmlElement | HTMLElement | HTML Element to select |
Example:
editor.execCommand('setSelectionByHTMLElement', document.getElementById('test'));