jupytercalpoly / jupyterlab-richtext-mode

JupyterLab extension for rich text editing in the notebook
43 stars 18 forks source link

Test Editor v2.0 #3

Closed dLamSlo8 closed 5 years ago

dLamSlo8 commented 5 years ago

For this PR, I changed how the editor is invoked (through double-clicking like a regular markdown cell). Also opted for NotebookTracker instead of NotebookTools.Tool. Fixed some issues with the editor as mentioned in the commit comments. I think this is still too hacky of an implementation because I'm having to rewrite the commands for a regular markdown cell and use preventDefault a lot just to make it work for the editor.