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 { Set } from 'immutable'
  import h from '../../../../helpers/h'
  import { Mark } from 'slate'
  
  export const input = (
    <text>
      <b>
        Cat
        <i> is</i> Cute
      </b>
    </text>
  )[0]
  
  export default function(t) {
    return t.getActiveMarksBetweenOffsets(0, 6)
  }
  
  export const output = Set.of(Mark.create('bold'))
  