instructure-react / react-tinymce

React TinyMCE component
181 stars 115 forks source link

Add all of TinyMCE's Editor events as propTypes #3

Closed meirish closed 9 years ago

meirish commented 9 years ago

I found I needed some event handlers that weren't included in the default list so I decided to just add all possible events.

This also only adds a handler to the editor if it's defined in the props - previously a handler was added for every event in EVENTS (though they would just be no-ops if the handler wasn't defined).

Let me know what you think!