hunk.code_window: } from '../utils/weak-maps'
   // COMPAT: Firefox/Edge Legacy don't support the `beforeinput` event
   const HAS_BEFORE_INPUT_SUPPORT = !(IS_FIREFOX || IS_EDGE_LEGACY)
   /**
    * `RenderElementProps` are passed to the `renderElement` handler.
    */
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit: // Chrome Legacy doesn't support `beforeinput` correctly
   const HAS_BEFORE_INPUT_SUPPORT = !(
     IS_FIREFOX ||
     IS_EDGE_LEGACY ||
     IS_CHROME_LEGACY
   )
  
hunk.file_path: packages/slate-react/src/components/editable.tsx
hunk.type: replace
file: /** @jsx jsx */
  
  import { Editor } from 'slate'
  import { jsx } from '../../../..'
  
  export const input = (
    <editor>
      <block>
        one<inline>two</inline>three<inline>four</inline>five
      </block>
    </editor>
  )
  
  export const test = editor => {
    return Array.from(Editor.nodes(editor, { at: [] }))
  }
  
  export const output = [
    [input, []],
    [
      <block>
        one<inline>two</inline>three<inline>four</inline>five
      </block>,
      [0],
    ],
    [<text>one</text>, [0, 0]],
    [<inline>two</inline>, [0, 1]],
    [<text>two</text>, [0, 1, 0]],
    [<text>three</text>, [0, 2]],
    [<inline>four</inline>, [0, 3]],
    [<text>four</text>, [0, 3, 0]],
    [<text>five</text>, [0, 4]],
  ]
  