Skip to content
a drag and drop example for draft-js editor by react-dnd
Branch: master
Clone or download
Latest commit 4e6d531 Jan 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
dnd-demo.patch Add files via upload Dec 14, 2016

README.md

draft-dnd-example

a drag and drop example for draft-js editor by react-dnd

  • check draft-js with commit 2de3c450ff7882e24d9abd4d7a9017cd8905d0c7
  • apply the patch file dnd-demo.patch with git apply dnd-demo.patch
  • check the live demo in examples/draft-0-9-1/dnd/dnd.html

NOTE:

the demo is for mobile browser, please run it in mobile browser or Chrome mobile emulator.

if you need run the dnd.html by file:// protocol other than http://, please copy the code in dnd.js into <script type="text/babel"></scrpit>.

You can’t perform that action at this time.