here: https://jsfiddle.net/xuw0m552/1/
<div contenteditable="true" style="background-color: #dadada">asdasda asdasdas</div>
background set you can see block's boundaries , know click
if double click inside div on right entered text selects last word (correct behavior)
and here: https://jsfiddle.net/5gupslb1/1/
<div contenteditable="true" style="background-color: #dadada">asdasda asdasdas</div> <div>111111</div>
if div has closed </body>
tag after - double click nothing.
question: how fix that? , why happening?
Comments
Post a Comment