forked from Lemon-planting-light/discourse-composer-tip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
34 lines (34 loc) · 1.5 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
tag_and_descriptions_list:
default: >-
[
{"tag_name": "测试", "short_description": "本主题是一个测试话题", "long_description": "本主题是xxxxx,您应当在本主题中遵守xxxxx,例如xxxx和xxxxx还有xxxxxx,违反xxxxx可能会xxxxxxxxxx. 详见<a href=\"/c/84\">yyyy</a>", "hide_for_OP": false, "hide_for_replyer": false}
]
json_schema: |
{
"type": "array",
"format": "table",
"items": {
"type": "object",
"properties": {
"tag_name": { "type": "string" },
"short_description": { "type": "string" },
"long_description": { "type": "string" },
"hide_for_OP": {"type": "boolean", "default": false},
"hide_for_replyer": {"type": "boolean", "default": false}
}
}
}
description:
zh_CN: |
配置不同的Tag显示什么。支持HTML。
tag_name为您需要展现的名称。hide_for_OP为是否为楼主展现说明。
hide_for_replyer为对已经回复过的人隐藏。
en: |
Configure what to display for different Tags. HTML is supported.
`hide_for_OP` is whether to hide tips for the original poster.
`hide_for_replyer` hides from those who have already replied.
show_modal_instead_of_summary:
default: false
description:
zh_CN: 显示弹窗而非显示文本。适合需要写很长的文本,编辑框不够放时。
en: Show modal rather than details box. Suitable for writing very long text, when the edit box is not enough.