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