hunk.code_window:    */
     onEvent(handler, event) {
       // COMPAT: Composition events can change the DOM out of under React, so we
       // increment this key to ensure that a full re-render happens. (2017/10/16)
       if (handler == 'onCompositionEnd') {
         this.tmp.key++
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:     debug('onEvent', handler)
  
hunk.file_path: packages/slate-react/src/components/content.js
hunk.type: add
file: /** @jsx h */
  
  import h from '../../../helpers/h'
  
  export default function (change) {
    change.insertInline({
      type: 'emoji',
      isVoid: true
    })
  }
  
  export const input = (
    <value>
      <document>
        <paragraph>
          word<cursor />
        </paragraph>
      </document>
    </value>
  )
  
  export const output = (
    <value>
      <document>
        <paragraph>
          word<emoji>{' '}<cursor /></emoji>
        </paragraph>
      </document>
    </value>
  )
  