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.

Archive

Add codemirror editor into Features admin form

Started by Muut Archive 9 years ago · 4 replies · 916 views
9 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.

9 years ago

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

9 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.

9 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 Deleted User, 9 years ago
0 1280 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4017 9 years ago
Archive · by Muut Archive, 9 years ago
1 2892 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago