jupyter lab 3.x
How to config jupyterlab default Context menu. such as disabling the copy function
We’ve faced the same issue. Built a UI custom extension to overlay the out of the box UI extension for the menu.
Since JupyterLab 3.3.x most menu items can be customized (including disabling) via settings as described in the documentation (see Common Extension Points — JupyterLab 3.3.2 documentation). Further, you can pass setting overrides using overrides.json
file (Advanced Usage — JupyterLab 3.3.2 documentation). Combining the two you can provide users with the selection of menu functions that you like.