Skip to content

Commit

Permalink
Merge pull request #6375 from mofeing/fix-missing-merge-cells
Browse files Browse the repository at this point in the history
Add missing "Merge Selected Cells" item to context menu
  • Loading branch information
blink1073 committed May 19, 2019
2 parents b04ce22 + e16a767 commit fc81a14
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/notebook-extension/src/index.ts
Expand Up @@ -782,26 +782,31 @@ function activateNotebookHandler(
rank: 7
});
app.contextMenu.addItem({
type: 'separator',
command: CommandIDs.merge,
selector: '.jp-Notebook .jp-Cell',
rank: 8
});
app.contextMenu.addItem({
type: 'separator',
selector: '.jp-Notebook .jp-Cell',
rank: 9
});

// CodeCell context menu groups
app.contextMenu.addItem({
command: CommandIDs.createOutputView,
selector: '.jp-Notebook .jp-CodeCell',
rank: 9
rank: 10
});
app.contextMenu.addItem({
type: 'separator',
selector: '.jp-Notebook .jp-CodeCell',
rank: 10
rank: 11
});
app.contextMenu.addItem({
command: CommandIDs.clearOutputs,
selector: '.jp-Notebook .jp-CodeCell',
rank: 11
rank: 12
});

// Notebook context menu groups
Expand Down

0 comments on commit fc81a14

Please sign in to comment.