Skip to content

Fix tilde/backslash/star in codeblock incorrectly escaped by rich editor

What does this MR do and why?

Related Issue: #371864 (closed)

The problem is related with prosemirror-markdown serializer config. prosemirror-markdown has add a escape option for code block, which is default true to escape any special character, such as ~/*/\. There's a discussion and commit for it:

https://github.com/ProseMirror/prosemirror-markdown/commit/eff71629d88fb93007aa33f32de4b8d043b19b7d

Screenshots

before:

after: image

@chaomao

Merge request reports

Loading