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

ezakto picture ezakto  路  3Comments

vdms picture vdms  路  3Comments

varoot picture varoot  路  3Comments

JSH3R0 picture JSH3R0  路  3Comments

ShardulNalegave picture ShardulNalegave  路  3Comments