hunk.code_window:       if (!instance.ref) {
           return null
         }
         if (element === instance.ref.current) {
           return p
         }
         // If there's no `tmp` then we're at a leaf node without success.
         if (!instance.tmp) {
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:       if (nodeElement === instance.ref.current) {
  
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>
        <quote key="a">
          <quote key="b">
            <paragraph key="c">
              <text key="d">one</text>
            </paragraph>
          </quote>
          <quote key="e">
            <paragraph key="f">
              <text key="g">
                <anchor />two
              </text>
            </paragraph>
            <paragraph key="h">
              <text key="i">three</text>
            </paragraph>
            <paragraph key="j">
              <text key="k">
                f<focus />our
              </text>
            </paragraph>
          </quote>
        </quote>
        <paragraph key="l">
          <text key="m">five</text>
        </paragraph>
      </document>
    </value>
  )
  
  export default function({ document, selection }) {
    return document.getLeafBlocksAtRange(selection).map(n => n.key)
  }
  
  export const output = List(['f', 'h', 'j'])
  