hunk.code_window:     event.clipboardData.setData(TEXT, plainText)
       event.clipboardData.setData(FRAGMENT, encoded)
       event.clipboardData.setData(HTML, div.innerHTML)
       return
     }
     // COMPAT: For browser that don't support the Clipboard API's setData method,
     // we must rely on the browser to natively copy what's selected.
     // So we add the div (containing our content) to the DOM, and select it.
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:     callback()
  
hunk.file_path: packages/slate-react/src/utils/clone-fragment.js
hunk.type: replace
file: /** @jsx h */
  
  import h from '../../../helpers/h'
  
  export default function(change) {
    change.delete()
  }
  
  export const input = (
    <value>
      <document>
        <paragraph>
          wo<anchor />rd
        </paragraph>
        <paragraph>
          <paragraph>middle</paragraph>
          <paragraph>
            an<focus />other
          </paragraph>
        </paragraph>
      </document>
    </value>
  )
  
  export const output = (
    <value>
      <document>
        <paragraph>
          wo<cursor />other
        </paragraph>
      </document>
    </value>
  )
  