html5 - preserving a contenteditable div selection while having the caret in an text input -
i have contenteditable div want allow user make selection click on text input field , enter value without highlighting of contenteditable selection lost.
is possible? can hack in firefox looks like.
i selection on mousedown , restore selection on mouseup while cursor in other input in chrome when restore selection causes focus lost in input field. not have work in ie, in ff, safari , chrome.
if isn't possible route going, there other workarounds issue?
Comments
Post a Comment