Access4all / EPUB

3 stars 1 forks source link

Drag&drop internal link: set cursor depending on mouse position #55

Open jmuheim opened 9 years ago

jmuheim commented 9 years ago

At the moment, when dragging&dropping an internal link to the WYSIWYG editor, it gets placed the where the cursor has been before. It would be nicer though, to have it placed where the mouse is, so a re-positioning of the cursor depending on the mouse would be necessary.

qtnc commented 9 years ago

I will make a search about how this could be possible. I'm not sure if, and yes how, I could obtain the DOM element present at position (X,Y). Bonus question, what would happen if something is dropped outside of the edition zone ?

qtnc commented 9 years ago

I ahve tried to solve it, but obviously can't verify myself. You should try again now.

jmuheim commented 9 years ago

Don't see anything changed.

qtnc commented 9 years ago

So, need a sighted person to work with me seriously in order to progress on that particular problem.