I have an html page where some words are split by ​ so they look e.g. like FRigVMExternalVariable but in the code they are actually F​Rig​V​M​External​Variable​. And the problem is that when I click the word it selects only a part that is bordered by ​ while the desirable behavior is for it to select the whole word
How to override default double click behavior in JS so it would treat ​ not as a word boundary?
 
     
    