react-contenteditable icon indicating copy to clipboard operation
react-contenteditable copied to clipboard

Native event methods like 'preventDefault' is missing

Open pranavrajs opened this issue 6 years ago • 0 comments

onChange callback returns an event object which does not have native Event methods. I hope this is lost when you try to use Object.assign as Object.assign copies only own properties

https://github.com/lovasoa/react-contenteditable/blob/master/src/react-contenteditable.tsx#L108

pranavrajs avatar Oct 25 '18 12:10 pranavrajs