middle-button paste

46 views
Skip to first unread message

brett stevens

unread,
Sep 5, 2023, 4:16:16 PM9/5/23
to sage-support
I am running sagemath 9.8 with jupyter_core 4.11.2 and jupyter_client 7.4.4. I access the sagemath notebook in firefox 116.0.2 on an Ubuntu 22.04 machine. I would like to enable middle-button paste in the jupyter notebook. My understanding from stack overflow is that this requires that sagemath's jupyter use codemirror 5.44.0. That link claims that as of jupyter 6.0.2, it does use a recent enough version of codemirror. I do not know if jupyter_core 4.11.2 and jupyter_client 7.4.4 is recent enough or if there is something else I need to do to enable middle-button paste in sage's jupyter.

brett stevens

unread,
Sep 7, 2023, 9:53:23 AM9/7/23
to sage-support
I have found that sagemath 9.8 is using codemirror version 5.56.0 (```$SAGE_ROOT/local/var/lib/sage/venv-python3.10.8/lib/python3.10/site-packages/notebook/static/components/codemirror/src/edit/main.js```) so I am not sure why middle button paste is not working.  Is there a firefox setting that I need to change?

brett stevens

unread,
Sep 7, 2023, 10:34:15 AM9/7/23
to sage-support
In firefox I do have middlemouse.paste set to True
Reply all
Reply to author
Forward
0 new messages