         if delta == 0
             # replace, so delete currently selected
             @delete_selected_cells(false)
-        clipboard = @store.get('clipboard')
-        if not clipboard? or clipboard.size == 0
+        if not global_clipboard? or global_clipboard.size == 0
             return   # nothing more to do
         # put the cells from the clipboard into the document, setting their positions
         if not cell_before_pasted_id?

        else
            before_pos = cells.getIn([cell_before_pasted_id, 'pos'])
            after_pos  = cells.getIn([@store.get_cell_id(+1, cell_before_pasted_id), 'pos'])
        positions = @_positions_between(before_pos, after_pos, clipboard.size)
        clipboard.forEach (cell, i) =>
            cell = cell.set('id', @_new_id())   # randomize the id of the cell
            cell = cell.set('pos', positions[i])
            @_set(cell, false)

    # Copy all currently selected cells into our internal clipboard
    copy_selected_cells: =>
        cells = @store.get('cells')
        global_clipboard = immutable.List()
        for id in @store.get_selected_cell_ids_list()
            global_clipboard = global_clipboard.push(cells.get(id))
        return

    # Cut currently selected cells, putting them in internal clipboard
