'Tinymce drag and drop contenteditable = false on firefox produce duplicate element

enter image description here

In tinymce editor I have a non-editable element with contenteditable=false, If I drag this element under the end of editor in firefox, release the cursor and click somewhere in the edit area it will create a duplicate of that element. In Chrome everything works fine.

Is there anyway to prevent this behavior?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source