In the asp.net ajax editor there is a convenient javascript function
'getSelectedElement()' which returns the entire underlying HTML element in
relation to the cursor position. There appears to be no equivalent
feature in the kendo editor. Before i resort to digging into the sources
of the ajax editor, i was wondering if the same thing can be achieved for the
Kendo editor using the existing API?
getRange() and selectedHtml() seem to be relevant, but there is very little documentation
on how getRange() works and what the available node parameters are.
Can anyone
offer a convenient solution?
'getSelectedElement()' which returns the entire underlying HTML element in
relation to the cursor position. There appears to be no equivalent
feature in the kendo editor. Before i resort to digging into the sources
of the ajax editor, i was wondering if the same thing can be achieved for the
Kendo editor using the existing API?
getRange() and selectedHtml() seem to be relevant, but there is very little documentation
on how getRange() works and what the available node parameters are.
Can anyone
offer a convenient solution?