bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI
http://hallojs.org/
MIT License
2.43k stars 316 forks source link

Image plugin inserts image when widget is moved #187

Open grobmeier opened 11 years ago

grobmeier commented 11 years ago

Title says it all: when I open the image context and drag the widget on its header around, images are inserted. Of course these images are not existing which cause missing images icons. Also console errors are generated.

Funnily the trashcan does disappear from time to time when this error is caused. Debugging this I thought the trashcan is inserted but i could not prove that. Now my idea is the drag and drop of the current-image div applies even when it is inside another div.

grobmeier commented 11 years ago

here is some console output when the error occurs:

GET http://localhost/hallojs/examples/undefined 404 (Not Found) hallo.js:839 jQuery.widget._createInsertElement hallo.js:839 t.isFunction.l.(anonymous function) jquery-ui-1.10.2.min.js:5 jQuery.widget._createFeedback hallo.js:912 t.isFunction.l.(anonymous function) jquery-ui-1.10.2.min.js:5 postPone

Please note, due to my own experiments line numbers might be not accurate