未验证 提交 75ed0578 编写于 作者: R rebornix

fix #117937

上级 1e6697ed
......@@ -724,6 +724,10 @@ export async function changeCellToKind(kind: CellKind, context: INotebookCellAct
return null;
}
if (!notebookEditor.viewModel.metadata.editable) {
return null;
}
const text = cell.getText();
const idx = notebookEditor.viewModel.getCellIndex(cell);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册