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

Add editor to modular page form

Started by Muut Archive 10 years ago · 0 replies · 451 views
10 years ago

I am using the antimatter theme to get my head round Grav. What I'm trying to do is change the textbox on the features modular page template into the markdown editor.

If I go to antimatter/blueprints/modular/features.yaml and edit:
.text:
type: text
label: Text

to be:
.text:
type: editor
label: Text

The markdown editor displays but it acts as a textarea ie: mardown syntax is rendered as raw text and html renders as html.

I also tried:
.text:
type: markdown
label: Text

The result is the same as editor?

What am I missing? Thanks for any help.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1999 9 years ago
Archive · by Muut Archive, 9 years ago
2 1342 9 years ago
Archive · by Muut Archive, 9 years ago
2 4549 9 years ago
Archive · by Muut Archive, 9 years ago
1 3402 9 years ago
Archive · by Muut Archive, 9 years ago
3 1493 9 years ago