Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Add codemirror editor into Features admin form

Started by Muut Archive 10 years ago · 4 replies · 1416 views
10 years ago

Is it possible to add the code editor into the features.yaml blueprint file in place of the textbox?

I've tried everything I can think of, I can get the editor to display, but it parses raw data, I can get it to parse markdown, but the results are stored in the main editor!!!

Someone please put me out of my misery, I've been on this for many hours.

10 years ago

you just have to add a filter markdown if you want it to be parsed.
example: {{ page.header.examplefield|markdown}}

10 years ago

Thank you sooooo much. It's easy when you know how!!
This isn't a snipe in any shape or form, but the Grav documentation (IMHO), could be a lot better. This simple issue caused me hours of frustration because I couldn't find an answer.
Again thanks for your help.

10 years ago

@skimberley can you point me a good place where you'd want to read this information in the docs, and I'll add it

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 671 1 week ago
Archive · by Deleted User, 9 years ago
0 3041 9 years ago
Archive · by Muut Archive, 9 years ago
2 1980 9 years ago
Archive · by Muut Archive, 9 years ago
2 5335 9 years ago
Archive · by Muut Archive, 9 years ago
1 4133 9 years ago