Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drag-and-drop into contentEditable DIV in Firefox

I'm stuck with drag-and-drop handling in Firefox.

Look at this example: http://jsfiddle.net/5nqRX/

There are two textareas and two contentEditable divs on a page.

0) If you drag text from the first textarea and drop it to the second one, text if copied. <-- in IE/Chrome it's moved

1) If you drag text from the textarea and drop it to the contentEditable div, nothing happens. <-- in IE/Chrome it's moved

2) If you drag text from the first contantEditable div and drop it to the second one, text completely disappears (removed from the first div, and didn't appear in the secod one) <-- in IE/Chrome it's moved

WTF with default Firefox's drop handling? Or do I miss something?

like image 633
vo1d Avatar asked Nov 14 '22 11:11

vo1d


1 Answers

It's a known firefox issue. You can't do anything about it.

like image 104
Naman Goel Avatar answered Nov 16 '22 04:11

Naman Goel