Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Can I add CodeMirror addons to Grav Admin editor? (or possibly other solution)

Started by Anna 7 years ago · 0 replies · 541 views
7 years ago

I've noticed that soft hyphens (­) are shown in the Admin editor as little red dots, which I find really nice and handy as German is a language which absolutely does need optional hyphenation for smaller screens. I would love to have such an easy way to spot other special characters as well, most notably non-breaking spaces ( ) and double spaces (for Markdown line breaks).

There seem to be addons available that accomplish this for CodeMirror, Grav's built in editor. I'm not sure however how I should go about installing them. Would that need a plugin? Or maybe it's quite simple because there's a config option somewhere?

As always, I really appreciate your help!

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 8 months ago
6 96 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 184 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 147 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 61 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 255 1 year ago