Preserve cell.mime when changing cell kind
This commit is contained in:
parent
0260183788
commit
9459f4963e
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
}]
|
||||
|
|
Loading…
Reference in a new issue