dillon1000/react
Commit
Browse files 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.
Changed paths4 files
First-parent comparisonsrc/core/ReactEventEmitter.js ModifiedM src/event/EventConstants.js ModifiedA src/event/synthetic/SyntheticClipboardEvent.js AddedM src/eventPlugins/SimpleEventPlugin.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…