hunk.code_window:       const move = isPrevious ? 'moveToEndOfNode' : 'moveToStartOfNode'
         const entry = document[iterable](path)
         if (entry) {
  
hunk.labels: keep replace keep keep
hunk.after_edit:       const entry = document[isPrevious ? 'getPreviousText' : 'getNextText'](
           path
         )
  
hunk.file_path: packages/slate-react/src/plugins/react/queries.js
hunk.type: replace
file: /** @jsx h */
  
  import { List } from 'immutable'
  import h from '../../../helpers/h'
  
  export const input = (
    <value>
      <document>
        <paragraph key="a">
          <text key="b">one</text>
        </paragraph>
        <paragraph key="c">
          <text key="d">
            tw<anchor />o
          </text>
        </paragraph>
        <image key="e" src="https://example.com/image2.png">
          <text key="f" />
        </image>
        <paragraph key="g">
          <inline type="link" key="h">
            <text key="i">three</text>
          </inline>
          <text key="j">
            <focus />four
          </text>
        </paragraph>
      </document>
    </value>
  )
  
  export default function({ document, selection }) {
    return document.getRootBlocksAtRange(selection).map(n => n.key)
  }
  
  export const output = List(['c', 'e', 'g'])
  