datocms / product-roadmap

This project is now discontinued. For feature requests, please use our community forum.
https://community.datocms.com/
19 stars 1 forks source link

Use codemirror with multiple-paragraph text HTML fields #155

Open panoply opened 5 years ago

panoply commented 5 years ago

Describe the solution you'd like It would be great if multiple-paragraph text would support syntax highlighting with the HTML markdown. Codemirror is a very simple and elegant solution for this exact case and will transform the current textarea to be more editor-like.

Describe alternatives you've considered Unsure if this can be achieved with the exposed plugin SDK, would be good to get more insight as it would be great to create a Flems.io layer on top of this for more complex HTML edits.

Additional context Integrating codemirror allows for the more tech-savvy editors to read HTML markdown source code more efficiently and make adjust via the source with far more ease.

panoply commented 5 years ago

Referencing #8

matjack1 commented 5 years ago

@panoply have you tried to use the HTML editor as a presentation mode, from here:

image

isn't that what you are asking?

panoply commented 5 years ago

@matjack1 This is related to the "Show HTML source" It would be great to have syntax coloring and highlighting applied to the HTML when using this.

matjack1 commented 4 years ago

This feature request has been moved to https://community.datocms.com/t/262