I have a div with "contenteditable = true".
For ex:
<div id="editableDiv" contenteditable="true">
<br/>fggggdf
</div>
How to get the character offset(for example character 'd'
offset) with respect to the div "editableDiv".
Thanks in advance
I bet this answer will help you.
I was thinking of a similar approach to the one presented here. Basically, you will have to do something like this: