I'm using jquery to make an html element on my page draggable. I'd like to be able to detect when this item is dropped in ckedtior so that I might paste some html based on the element that was dropped. Beyond that, I would really like to be able to not only detect that an html element was dropped on the editor but I would like to be able to detect the correct cursor position within the ckeditor content where the html element was dropped.
I've searched both the web and these forums and have found numerous posts regarding dragging/dropping files from the desktop or even dragging around content within ckeditor but have found no answers on how to deal with an html element outside of ckeditor which has been made draggable using jquery and needs to be detected when dropped into ckeditor.
Any ideas or pointers would be most helpful. Thanks.
draggable droppable jquery ckeditor drag drop html element
I've searched both the web and these forums and have found numerous posts regarding dragging/dropping files from the desktop or even dragging around content within ckeditor but have found no answers on how to deal with an html element outside of ckeditor which has been made draggable using jquery and needs to be detected when dropped into ckeditor.
Any ideas or pointers would be most helpful. Thanks.
draggable droppable jquery ckeditor drag drop html element