mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -38,6 +38,8 @@ class ThemeSettingsParser
|
||||
opts[:list_type] = raw_opts[:list_type]
|
||||
end
|
||||
|
||||
opts[:textarea] = !!raw_opts[:textarea]
|
||||
|
||||
opts
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user