2.0.0-beta5 • Published 8 years ago
@poltak/draft-js-dnd-plugin v2.0.0-beta5
DraftJS Drag&Drop Plugin
This is a plugin for the draft-js-plugins-editor
.
This plugin adds drag and drop functionality to your editor!
- Drop files
- Move blocks that are wrapped by
DraggableDecorator
- Drop a text like 'type:image' to create a new block of type image
Usage:
import createDndPlugin from 'draft-js-dnd-plugin';
const dndPlugin = createDndPlugin();
2.0.0-beta5
8 years ago
2.0.0-beta6
8 years ago