Drag-n-Drop on contentEditable elements

前端 未结 3 1215
星月不相逢
星月不相逢 2020-12-15 08:38

There are numerous WYSIWYG editors available on the internet, but I\'m yet to find one that implements some form of drag-n-drop implementation.

It is easy to create

3条回答
  •  悲哀的现实
    2020-12-15 09:40

    Currently an HTML5 API is being developed to do this, but unfortunately IE doesn't support it. Edit: Apparently IE actually does support drag and drop, but I'm not very familiar with how it works. Try Googling "IE drag and drop".

    Try looking at these sites:

    • https://developer.mozilla.org/en/DragDrop/Drag_and_Drop
    • http://html5doctor.com/native-drag-and-drop/
    • http://www.thebuzzmedia.com/html5-drag-and-drop-and-file-api-tutorial/
    • http://www.webreference.com/programming/javascript/dragdropie/ (Drag and Drop in IE)

提交回复
热议问题