Page tree
Skip to end of metadata
Go to start of metadata

Select HTML Elememt.


Parameters:

NameTypeDescription
actionNameString'setSelectionByHTMLElement' HTML Element selecting API
htmlElementHTMLElementHTML Element to select


Example:

editor.execCommand('setSelectionByHTMLElement', document.getElementById('test'));
  • No labels