In a component’s settings, I can easily create a field for entering a bit of text via the component’s
default: "<p><i>Sample</i> default.</p>"
en: "This is an example setting."
I looked through https://github.com/json-editor/json-editor#json-schema-support but I couldn’t grok enough of that to figure out what I’m trying to do.
I’d like this setting to be something like the following. (Screenshot from one of the settings in the House Ads plugin.)
A pointer to how to configure how the editor behaves would be great too.
I think this might be what you’re looking for. I don’t see any examples of
textarea: true in
site_settings.yml, but here’s one in a theme component:
Easy. That works perfectly. Thanks Jay!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.