I have the following html -:
<div contenteditable="true">Hey man <a class="ddt">Harry</a></div>
I would want that the user is not able to select the a.ddt
element. In simple words, all other contents inside the div can be selected, but the a.ddt
cannot be selected.
How do i do this... Thanks for help.