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).
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!