Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jan4984/draft-dnd-example
a drag and drop example for draft-js editor by react-dnd
https://github.com/jan4984/draft-dnd-example
dnd draft-js
Last synced: 3 months ago
JSON representation
a drag and drop example for draft-js editor by react-dnd
- Host: GitHub
- URL: https://github.com/jan4984/draft-dnd-example
- Owner: jan4984
- Created: 2016-12-14T07:00:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T03:06:00.000Z (over 6 years ago)
- Last Synced: 2024-01-22T04:40:44.573Z (5 months ago)
- Topics: dnd, draft-js
- Size: 108 KB
- Stars: 15
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-draft-js - Draft drag and drop demo for mobile browser
- awesome-draft-js - Draft drag and drop demo for mobile browser
README
# draft-dnd-example
![](http://i.imgur.com/Pm8OHVN.gif)
a drag and drop example for draft-js editor by react-dnd
* check [draft-js](https://github.com/facebook/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 ``._