hunk.code_window:     // `isComposing` flag, since a composition is still in affect.
       setTimeout(() => {
         if (compositionCount > n) return
         isComposing = false
       })
       debug('onCompositionEnd', { event })
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:       // HACK: we need to re-render the editor here so that it will update its
         // placeholder in case one is currently rendered. This should be handled
         // differently ideally, in a less invasive way?
         editor.setState({ isComposing: false })
  
hunk.file_path: packages/slate-react/src/plugins/before.js
hunk.type: add
file: /** @jsx h */
  
  import h from '../../helpers/h'
  
  export const schema = {}
  
  export const input = (
    <value>
      <document>
        <paragraph>
          <link>
            <paragraph>
              one
            </paragraph>
            two
          </link>
        </paragraph>
      </document>
    </value>
  )
  
  export const output = {
    kind: 'value',
    document: {
      kind: 'document',
      data: {},
      nodes: [
        {
          kind: 'block',
          type: 'paragraph',
          isVoid: false,
          data: {},
          nodes: [
            {
              kind: 'text',
              leaves: [
                {
                  kind: 'leaf',
                  text: '',
                  marks: [],
                }
              ]
            },
            {
              kind: 'inline',
              type: 'link',
              isVoid: false,
              data: {},
              nodes: [
                {
                  kind: 'text',
                  leaves: [
                    {
                      kind: 'leaf',
                      text: 'two',
                      marks: [],
                    }
                  ]
                }
              ]
            },
            {
              kind: 'text',
              leaves: [
                {
                  kind: 'leaf',
                  text: '',
                  marks: [],
                }
              ]
            },
          ]
        }
      ]
    }
  }
  