You are right that the execute
event of the Editor will actually fire before the tool has performed its action. In order to select a specific part of the newly inserted HTML, you could execute that action in a timeout function:
editor = e.sender;
range = editor.createRange();
Note the selectRange()
method which would allow you to select the specified part of the Editor contents.
Here you will find a small sample implementing the above
As per your second question, yes, licensed users have access to the Kendo UI source code and can make changes to it. Keep in mind that such changes are not officially supported and may result in improper behaviour of some functionalities.