Skip to content

Commit

Permalink
Fix #103881. Skip metadata when copying cells.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Dec 14, 2022
1 parent 6642771 commit e5308a0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,7 @@ export function cloneNotebookCellTextModel(cell: NotebookCellTextModel) {
outputs: output.outputs,
/* paste should generate new outputId */ outputId: UUID.generateUuid()
})),
metadata: { ...cell.metadata },
// Don't include internalMetadata, ie execution state, this is not to be shared
metadata: {}
};
}

Expand Down

0 comments on commit e5308a0

Please sign in to comment.