Skip to content

Commit f68ab12

Browse files
committed
fix copy-paste errors with inserting markdown cells
1 parent bf86f52 commit f68ab12

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/vs/workbench/contrib/notebook/browser/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
export const INSERT_CODE_CELL_ABOVE_COMMAND_ID = 'workbench.notebook.code.insertCellAbove';
77
export const INSERT_CODE_CELL_BELOW_COMMAND_ID = 'workbench.notebook.code.insertCellBelow';
88
export const INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID = 'workbench.notebook.markdown.insertCellAbove';
9-
export const INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID = 'workbench.notebook.markdown.insertCellAbove';
9+
export const INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID = 'workbench.notebook.markdown.insertCellBelow';
1010

1111
export const EDIT_CELL_COMMAND_ID = 'workbench.notebook.cell.edit';
1212
export const SAVE_CELL_COMMAND_ID = 'workbench.notebook.cell.save';

src/vs/workbench/contrib/notebook/browser/contrib/notebookActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ registerAction2(class extends InsertCellCommand {
413413
constructor() {
414414
super(
415415
{
416-
id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
416+
id: INSERT_MARKDOWN_CELL_ABOVE_COMMAND_ID,
417417
title: localize('notebookActions.insertMarkdownCellAbove', "Insert Markdown Cell Above"),
418418
},
419419
CellKind.Markdown,
@@ -428,7 +428,7 @@ registerAction2(class extends InsertCellCommand {
428428
id: INSERT_MARKDOWN_CELL_BELOW_COMMAND_ID,
429429
title: localize('notebookActions.insertMarkdownCellBelow', "Insert Markdown Cell Below"),
430430
},
431-
CellKind.Code,
431+
CellKind.Markdown,
432432
'below');
433433
}
434434
});

0 commit comments

Comments
 (0)