We have a bug in which the undo delete cell operation brings doesn't preserve the cell language.
Create a "markdown" cell
Delete the markdown cell
Undo the deletion
Today, after 3., the cell is incorrectly brought back as a Python cell, but it should be a markdown cell. Here is an example of an incorrect cell being brought back after undo:
SQL cells have the same problem.
Possible fixes:
Preserve the cell language in the undo/redo stack.
Only keep track of the underlying Python code in the undo/redo stack (in which case it would be okay to bring any cell back as a Python cell).
Describe the bug
We have a bug in which the undo delete cell operation brings doesn't preserve the cell language.
Today, after 3., the cell is incorrectly brought back as a Python cell, but it should be a markdown cell. Here is an example of an incorrect cell being brought back after undo:
SQL cells have the same problem.
Possible fixes:
Environment
HEAD
Code to reproduce
No response