ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.23k stars 806 forks source link

Extension "Scratchpad" becomes unresponsive after restarting kernel #1556

Open edridgedsouza opened 3 years ago

edridgedsouza commented 3 years ago

Sometimes I'll restart the Jupyter kernel while I have my scratchpad open. When this happens, the scratchpad remains up and the text is even editable, but if you try to execute it, nothing happens. If you press Ctrl-B, an entirely new scratchpad will pop up, which should be functional. However, there is no way for me to get rid of the old scratchpad besides using my browser to simply delete the element.

Can this extension be tweaked so that upon restarting the kernel, either A) the existing scratchpad is able to remain active, or B) the old scratchpad is removed and the new scratchpad starts out loaded with the text that was inside it?