getDefaultProps() {
    return {
      renderOptimizations: true
    }
  }
A React component to obtain TextInput from the user and insert it into the editor. We capture shortcuts
via Mousetrap.js bindings. All other characters bypass Mousetrap and are inserted by the browser into the
focused hidden text input area (so the browser's internal machinery deals with the key capture and translation
to characters, so it should work for complex IME input as well), and from there the browser triggers the
onInput event on the input area, at which point we grab the character and place it into the editor.