text: /** @jsx jsx */
  
  import { Editor } from 'slate'
  import { jsx } from '../../..'
  
  export const run = editor => {
    Editor.setNodes(editor, { key: true }, { match: 'inline' })
  }
  
  export const input = (
    <editor>
      <block>
        <text />
        <inline>
          <text />
          <inline>
            <cursor />
            word
          </inline>
          <text />
        </inline>
        <text />
      </block>
    </editor>
  )
  
  export const output = (
    <editor>
      <block>
        <text />
        <inline key>
          <text />
          <inline>
            <cursor />
            word
          </inline>
          <text />
        </inline>
        <text />
      </block>
    </editor>
  )
  