Skip to content

Commit d3251ed

Browse files
committed
Add specification for view-only notebook
1 parent a9d295c commit d3251ed

File tree

1 file changed

+54
-2
lines changed

1 file changed

+54
-2
lines changed

schema/plugin.json

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,63 @@
66
"properties": {},
77
"additionalProperties": false,
88
"jupyter.lab.toolbars": {
9-
"Notebook": [
9+
"ViewOnlyNotebook": [
1010
{
1111
"name": "save",
12+
"disabled": true
13+
},
14+
{
15+
"name": "cut",
16+
"command": "notebook:cut-cell",
17+
"disabled": true
18+
},
19+
{
20+
"name": "copy",
21+
"command": "notebook:copy-cell",
22+
"disabled": true
23+
},
24+
{
25+
"name": "paste",
26+
"command": "notebook:paste-cell-below",
27+
"disabled": true
28+
},
29+
{
30+
"name": "run",
31+
"caption": "Run cell",
32+
"disabled": true
33+
},
34+
{
35+
"name": "interrupt",
36+
"caption": "Interrupt notebook",
37+
"disabled": true
38+
},
39+
{
40+
"name": "restart",
41+
"caption": "Restart notebook",
42+
"disabled": true
43+
},
44+
{
45+
"name": "restart-and-run",
46+
"caption": "Restart and run all cells",
47+
"disabled": true
48+
},
49+
{
50+
"name": "cellType",
1251
"command": "",
13-
"disabled": true,
52+
"disabled": true
53+
},
54+
{
55+
"name": "share",
56+
"rank": 35
57+
},
58+
{
59+
"name": "downloadDropdown",
60+
"rank": 36
61+
}
62+
],
63+
"Notebook": [
64+
{
65+
"name": "save",
1466
"rank": 10
1567
},
1668
{

0 commit comments

Comments
 (0)