Really enjoying this series, but in case anyone else gets stuck, a couple of bits that were missing in the blog steps, that I found in the Code Sandbox:
- The editor component needs
ref="editor"set as a prop.
this.focus()method. This should be set also in the Page Container:
focus = () => this.refs.editor.focus()