discourse/app/assets/stylesheets/common/rich-editor
Renato Atilio a5cacde681
FEATURE: add code-block rich editor extension (#31179)
Continues the work done on
https://github.com/discourse/discourse/pull/30815.

Extends the ProseMirror-markdown `code-block` node by integrating our
existing HighlightJS pipeline for code highlighting and adding a node
view with a `<select>` to change the language of the block.

We're also adding the markdown paste extension, which handles converting
pasted text/plain to rich content if it contains Markdown.

---------

Co-authored-by: Martin Brennan <martin@discourse.org>
2025-03-06 20:43:33 -03:00
..
_index.scss
rich-editor.scss FEATURE: add code-block rich editor extension (#31179) 2025-03-06 20:43:33 -03:00