Creating a component's settings as a textarea/editor?

In a component’s settings, I can easily create a field for entering a bit of text via the component’s settings.yaml file…

  default: "<p><i>Sample</i> default.</p>"
    en: "This is an example setting."

I looked through 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. :exclamation: That works perfectly. Thanks Jay!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.