I'm new to modx Rev and I am trying to set the input field for a template variable so that it uses my chosen richtext editor. If I set the input field as rich text I just get a 1 line text field. If I set the editor as Textarea then thats all I get a text area field - there is no option in the drop down under input options for "html" as some tutorials suggest. Have I not enabled something? I am a bit lost being new to the app.
0
votes
So, what type of input are you trying to capture? HTML or rich text?
– Sean Kimball
I'm trying to capture html but there is no "html" option on the drop down for Input Type - the only relevant options seem to be text area or rich text. I am using the latest version of Modx
– user2317093
You don't want a rich text editor, you want a code editor then - like ACE or code mirror. [please update your question] Not sure about ACE or code mirror, but Markitup has some system settings for individual rich text fields. It's not well documented. but might be a start
– Sean Kimball
Thanks for your help, I am using ACE and I have tried Codemirror. When I set the input type for the variable there is no "code" option. The tutorials I have looked up all mention using a "richtext editor". When I enable either codemirror or ace I do not get to use it for any of my template variables no matter what field type I choose even though the editor is enabled in system
– user2317093
3 Answers
0
votes
0
votes