Skip to content

Commit 7dbf4a9

Browse files
authored
Reorder cell menu items (#7)
1 parent 27efa08 commit 7dbf4a9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/cellmenu.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ const FOREIGN_COMMANDS: ICellMenuItem[] = [
2121
icon: markdownIcon,
2222
tooltip: 'Convert to Markdown Cell'
2323
},
24-
{
25-
command: 'notebook:delete-cell',
26-
icon: deleteIcon,
27-
tooltip: 'Delete Selected Cells'
28-
},
2924
// Originate from @ryantam626/jupyterlab_code_formatter
3025
{
3126
className: 'jp-enh-cell-format',
3227
command: 'jupyterlab_code_formatter:format',
3328
icon: formatIcon,
3429
tooltip: 'Format Cell'
30+
},
31+
// Originate from @jupyterlab/notebook-extension
32+
{
33+
command: 'notebook:delete-cell',
34+
icon: deleteIcon,
35+
tooltip: 'Delete Selected Cells'
3536
}
3637
];
3738

0 commit comments

Comments
 (0)