Slate: add drag/drop support

Created on 7 Jul 2016  路  3Comments  路  Source: ianstormtaylor/slate

feature

Most helpful comment

Where is the documentation for this functionality @ianstormtaylor

All 3 comments

DraftJS plugins that you referred to now has DnD support in their 2.0:

https://github.com/draft-js-plugins/draft-js-plugins/tree/master/draft-js-dnd-plugin

Added to core in 0.6.3!

It's handled similarly to contenteditable, in that you specific blocks aren't draggable, but when you create a selection, you can drag that selection to somewhere else in the document. And things can be dragged from outside of the document, by default only text is handled, but plugins can hook into the onDrop handler.

Where is the documentation for this functionality @ianstormtaylor

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JSH3R0 picture JSH3R0  路  3Comments

YurkaninRyan picture YurkaninRyan  路  3Comments

AlexeiAndreev picture AlexeiAndreev  路  3Comments

ianstormtaylor picture ianstormtaylor  路  3Comments

ianstormtaylor picture ianstormtaylor  路  3Comments