hunk.code_window:   // Revert to the previous selection right after copying.
     window.requestAnimationFrame(() => {
       editor.removeChild(div)
       removeAllRanges(native)
       native.addRange(range)
     })
   }
   export default cloneFragment
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:     callback()
  
hunk.file_path: packages/slate-react/src/utils/clone-fragment.js
hunk.type: add
file: /** @jsx h */
  
  import h from '../../../../helpers/h'
  import { Mark } from 'slate'
  
  export const input = (
    <text>
      Cat is
      <b> Cute</b>
    </text>
  )[0]
  
  export default function(t) {
    return t.addMark(3, 3, Mark.create('bold'))
  }
  
  export const output = (
    <text>
      Cat<b> is Cute</b>
    </text>
  )[0]
  