dillon1000/react

Commit

Add cut, copy, paste

Add clipboard events to React.

For forms, these shouldn't really be necessary -- the onChange event should handle deletions and insertions. For contenteditables, however, we need to be able to access clipboard data.
Browse files
Changed paths4 files
First-parent comparison
M src/core/ReactEventEmitter.js ModifiedM src/event/EventConstants.js ModifiedA src/event/synthetic/SyntheticClipboardEvent.js AddedM src/eventPlugins/SimpleEventPlugin.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…