Handle 'focus' events in ReactEditorView and transfer to the component

Fixes #3234