When dragging something over a contenteditable area in Chrome, to be able to catch the 'drop' event, one needs to call e.preventDefault();
on every 'dragover' event.
This hides the caret, which tells you where you are going to drop. This can be circumvented by manually updating the caret position via document.caretRangeFromPoint().
This works perfectly unless the window is inactive - then the caret is invisible.
Fiddle: http://jsfiddle.net/zupa/mezAm/
Is there a way to make it visible without using a helper?