I am trying to enable "delete control" functionality via right-click menu.
so far I have a code like this, but I cannot find the appropriate function like editor.DeleteSelectedElement (or something like that):
Telerik.Web.UI.Editor.CommandList["Remove Hyperlink"] = function (commandName, editor) {
var hyperLink = editor.getSelectedElement(); // get the selected Hyperlink element.
editor.selectElement(hyperLink); // select the hyperlink
*I need to delete selected element here. how do I do that?
};
thank you