@draft-js-plugins/drag-n-drop

Block Drag & Drop Plugin for DraftJS

Usage no npm install needed!

<script type="module">
  import draftJsPluginsDragNDrop from 'https://cdn.skypack.dev/@draft-js-plugins/drag-n-drop';
</script>

README

DraftJS Block Drag & Drop Plugin

This is a plugin for the @draft-js-plugins/editor.

This plugin adds drag and drop functionality to your editor!

  • Move blocks that are wrapped by DraggableDecorator

Usage:

see https://www.draft-js-plugins.com/plugin/drag-n-drop