This demo illustrates how to execute custom commands within the ASPxHtmlEditor on the client.
A custom command is a sequence of calls to standard editor commands.
Custom commands can be executed by handling the editor's client CustomCommand event.
This event fires if a command name associated with the clicked toolbar item doesn't coincide with any standard predefined editor command.
In this demo, two custom commands are implemented: one deletes the editor's content, and another inserts an e-mail template text.
To initiate these commands, a custom toolbar with two items is created. Custom item command names are 'deleteall' and 'pasteemailtemplate', respectively. It is also demonstrated how to assign custom keyboard shortcuts to these commands by defining corresponding items within the editor's Shortcuts collection.