Merge pull request 'fix(admin): escape multiline quick-reply default string' (#246) from worktree-fix-comment-js-string into main
Reviewed-on: CYL/wordpress-theme-aksrt#246
This commit is contained in:
@@ -24,9 +24,7 @@ export const commentSchema = {
|
||||
comment_quick_s: true,
|
||||
comment_city_s: true,
|
||||
comment_city_type: 'province_city',
|
||||
comment_quick_often: '不错,学习了
|
||||
感谢分享
|
||||
期待更新',
|
||||
comment_quick_often: '不错,学习了\n感谢分享\n期待更新',
|
||||
comment_author_tag: true,
|
||||
comment_corderby: true,
|
||||
comment_empty_text: '暂无评论,来做第一个评论的人吧~',
|
||||
@@ -92,9 +90,7 @@ export const commentSchema = {
|
||||
{ label: '仅省份', value: 'province' },
|
||||
{ label: '国家+省份', value: 'country_province' },
|
||||
], dependsOn: { key: 'comment_city_s', value: true } },
|
||||
{ key: 'comment_quick_often', label: '快捷回复短语', type: 'textarea', default: '不错,学习了
|
||||
感谢分享
|
||||
期待更新', help: '每行一条', dependsOn: { key: 'comment_quick_s', value: true } },
|
||||
{ key: 'comment_quick_often', label: '快捷回复短语', type: 'textarea', default: '不错,学习了\n感谢分享\n期待更新', help: '每行一条', dependsOn: { key: 'comment_quick_s', value: true } },
|
||||
{ key: 'comment_author_tag', label: '作者标签', type: 'switch', default: true },
|
||||
{ key: 'comment_corderby', label: '评论排序切换', type: 'switch', default: true, help: '前台显示最新/最早/最热切换按钮' },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user