FEATURE: Allow string theme settings to display with multiple lines

To use, add `textarea: true` to the theme settings.yml. For example:

```
my_setting:
  default: "some string"
  textarea: true
```
This commit is contained in:
David Taylor
2019-02-05 14:14:53 +00:00
parent 7b7bc3db39
commit a3b47c1dd1
5 changed files with 26 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ class ThemeSettingsParser
opts[:list_type] = raw_opts[:list_type]
end
opts[:textarea] = !!raw_opts[:textarea]
opts
end