Skip to content

Commit

Permalink
Add line to remove cell toolbar extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
briank-git committed Aug 29, 2023
1 parent 40dcae5 commit c62eaa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockerfiles/r-stat-301/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ RUN mamba update --quiet --file /tmp/conda-linux-64.lock && \
fix-permissions "/home/${NB_USER}" && \
Rscript -e "install.packages('faux', repos='http://cran.us.r-project.org')"

# Disable the cell toolbar (which ignores metadata and students often accidentally click + delete grading cells)
RUN jupyter labextension disable @jupyterlab/cell-toolbar-extension

# Configure shortcuts-extension to remove Shift-M cell merge shortcut
COPY shortcuts.jupyterlab-settings /home/${NB_USER}/.jupyter/lab/user-settings/\@jupyterlab/shortcuts-extension/shortcuts.jupyterlab-settings

Expand Down

0 comments on commit c62eaa7

Please sign in to comment.