Hi,
My input on RadEditor Control: ram ram ravan
after some manipulation, i have modified the above text as "ram ram <FONT class=masked>ra</FONT>van".
My requirement is the last word "van", if the user select "a" on van text, i want the index of a in the above text. Please help me how to get the index.
I have used the below code to get the selected text range of pure text but not with html tags, how to get range and index with html tags.
var Range = editor.getSelection().getRange();
var index= - Range.move("character", -1000000);
My input on RadEditor Control: ram ram ravan
after some manipulation, i have modified the above text as "ram ram <FONT class=masked>ra</FONT>van".
My requirement is the last word "van", if the user select "a" on van text, i want the index of a in the above text. Please help me how to get the index.
I have used the below code to get the selected text range of pure text but not with html tags, how to get range and index with html tags.
var Range = editor.getSelection().getRange();
var index= - Range.move("character", -1000000);