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.

Plugins

Use NexGen Editor In Theme Module

plugins

Solved by Ross Campbell View solution

Started by Ross Campbell 5 years ago · 7 replies · 866 views
5 years ago

I am working on creating modules for my Grav theme. My company has purchased the NexGen Content Editor Plugin and I would like to use this as an form input type. So here is an example of an input I'd like to convert to the NextGen Content Editor in my module blueprint YAML file:

YAML
fields:
            header.header_background_text:
              type: text
              label: 'Page Text'
              help: 'Optional, For if you want bold text at the top of the page'

As you can see My input type is set to Type: text But I want to know the proper value to change text to in order to make it a next gen editor field. Such as: type: WYSIWYG or type: nextgen

last edited 10/07/21 by Ross Campbell
5 years ago

Thanks @pamtbaau I Have submitted the same question in their GitHub Q&A. Looks pretty empty though. Lets hope I get a response 🤞

5 years ago

@rosscampbelldovico, You should drop the question in "Issues", not "Discussions"...

5 years ago

@pamtbaau This isn't an issue; I just don't know how to do it. I don't want to mis-label it as such. The Grav Team did not make an mistake. Its just me

5 years ago

Is it really useful to use a commercial product as an editor instead of simply getting the same functionality integrated into CodeMirror? Check out https://humhub.com and their code mirror installation and it has way more and much better ways to handle i.e. images and social media inserts/embeds etc. So I would assume that with a bit of modification of codemirror you could achieve the same and make your theme later on also available for all people who do not use NexGen Editor.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 47 1 week ago
Plugins · by Xavier, 4 weeks ago
2 56 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1182 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 74 2 months ago