Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add javascript wysiwyg html editor to input cell types #7303

Closed
gutow opened this issue Mar 26, 2019 · 3 comments
Closed

Add javascript wysiwyg html editor to input cell types #7303

gutow opened this issue Mar 26, 2019 · 3 comments
Labels
status:Needs Triage Applied to issues that need triage

Comments

@gutow
Copy link
Contributor

gutow commented Mar 26, 2019

Presently adding html markup to the Jupyter notebook requires doing it either from python:

from IPython.display import HTML
somehtml ='<div>....</div>'
display(HTML(somehtml)

or using the %%html magic at the beginning of an input cell.
I am not clear on all the details of front-end javascript to server communication, but I think it should be relatively easy for somebody familiar with it to add an option to have tinymce (LGPL license), quill (BSD license) or similar wysiwyg javascript editor as another option for the cell type in addition to Code, Markdown, Raw nbconvert and Heading.

I do not have much time, but if it is really simple and somebody can provide an hint as to where to start, I could attempt it. I've done a significant amount of coding for Sagemath and Plone.

@ivanov ivanov transferred this issue from jupyter/jupyter Mar 27, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to issues that need triage label Mar 27, 2024
@ivanov
Copy link
Member

ivanov commented Mar 27, 2024

Hey there @gutow , I'm going through old issues and I'm sorry we didn't respond sooner on the jupyter repository. I'm moving this to the notebook repo, as this feature requests belongs there (or possibly in jupyterlab/jupyterlab - but cross-organization transfer are more cumbersome).

@gutow
Copy link
Contributor Author

gutow commented Mar 27, 2024

I'll just add that there has been work since this posting. I tried getting quill to work, but it required changing the notebook format to make it work smoothly. There is also this project https://github.com/g2nb/jupyter-wysiwyg, which is partway there. It does not deal well with embeded latex expressions and still needs interface work, but basically does what is needed. This probably needs to be embedded in jupyter as a setting for markdown cells.

@RRosio
Copy link
Collaborator

RRosio commented Apr 2, 2024

Thank you for opening this issue @gutow! These requested changes, if embedded in jupyter, would be applied upstream in https://github.com/jupyterlab/jupyterlab. There is an older issue open in JupyterLab, jupyterlab/jupyterlab#5908, with a similar request. I will close this issue in favor of the JupyterLab issue and link this issue there for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

3 participants