If I programmatically remove the focus of the content being edited by the div, it looks like it has no focus, but then if the user types it, it still has focus.
$("#myContentEditable").focus(); $("#myContentEditable").blur();
If you start typing, he still has focus.
https://jsfiddle.net/zvn4w61d/
This does not occur when entering text.
Any idea how to remove focus?
I suppose I can give a different focus for text input, but Id should create it on the fly, focus it and destroy it. A little hack, if not ....
source share