User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Add markdown
mode support for Codemirror.
Any other modes need to be inlcuded by default?
Apply patch. Run npm install
Add editor field in mod_custom:
<field name="editor_test" type="editor" label="Editor"
syntax="markdown" editor="codemirror" filter="safehtml"/>
No markdown support
Markdown works
Please select:
Reference:
Category | ⇒ | NPM Change |
Status | New | ⇒ | Pending |
Title |
|
I have tested this item ✅ successfully on 1566c04
Syntax highlighting has a little less contrast than in CodeMirror 5 but I guess that might be fixable later. Otherwise it works fine. Should the Test Instructions be npm ci rather than npm install? Anyway - I am happy - thank you.
I have tested this item ✅ successfully on 1566c04
sorry - works fine
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
NPM Resource Changed
PR-5.0-dev
|
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-06 20:14:11 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
thanks
Not sure this is working as expectedI expect there to be syntax highlighting as shown in the demo https://codemirror.net/5/mode/markdown/index.html but if i paste the text from the demo then there is none and its just the same as without the changes in this pr