nvbn/everpad — pull request #150 by mhaggag (2012-11-26 13:51:23+00:00)
Title: Added Drag/Drop support for images.

Dragging an image file into everpad now attaches it to the note and inserts it at the current cursor location.

The one gotcha is that it inserts the image at the current caret location, not the drop location. I have the drop coordinates, but I couldn't figure out a way to programmatically move the caret there--I looked briefly through the HTML5 editing APIs and found no relevant commands. QWebFrame's HitTest methods return the element for a given position, but I found no way to "click" it to move the caret.

I think it's still a valuable addition in its current limited form.