I have got a contentEditable div and I want to move caret one field backwards after I click on this div. How can I do this?
This is my code. I want to do something to move caret between A and B when I click between B and C
<div id="MainBox" contenteditable="true" spellcheck="false">
ABC
</div>
Thanks for help.