Preserve cell.mime when changing cell kind

This commit is contained in:
Matt Bierner 2021-06-16 12:37:36 -07:00
parent 0260183788
commit 9459f4963e
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -982,6 +982,7 @@ export async function changeCellToKind(kind: CellKind, context: INotebookCellAct
cellKind: kind,
source: text,
language: language!,
mime: cell.mime,
outputs: cell.model.outputs,
metadata: cell.metadata,
}]