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

Add editor to modular page form

Started by Muut Archive 9 years ago · 0 replies · 387 views
9 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 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago