Don't show subject (annoying when leaving comment); restrict format

Ref #32
This commit is contained in:
benjamin melançon 2018-12-26 12:09:50 -05:00
parent 2380ca8a57
commit 76075b5fb5
2 changed files with 20 additions and 12 deletions

View file

@ -6,6 +6,7 @@ dependencies:
- comment.type.comment - comment.type.comment
- field.field.comment.comment.comment_body - field.field.comment.comment.comment_body
module: module:
- allowed_formats
- text - text
_core: _core:
default_config_hash: i9gg03KbztdQ0LmR6WLr5smEj5TBKU12U2X8ZlSpKJA default_config_hash: i9gg03KbztdQ0LmR6WLr5smEj5TBKU12U2X8ZlSpKJA
@ -15,22 +16,20 @@ bundle: comment
mode: default mode: default
content: content:
author: author:
weight: -2 weight: 0
region: content region: content
settings: { }
third_party_settings: { }
comment_body: comment_body:
type: text_textarea type: text_textarea
weight: 11 weight: 1
settings: settings:
rows: 5 rows: 5
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '0'
region: content region: content
subject: hidden:
type: string_textfield subject: true
weight: 10
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
hidden: { }

View file

@ -6,7 +6,16 @@ dependencies:
- comment.type.comment - comment.type.comment
- field.storage.comment.comment_body - field.storage.comment.comment_body
module: module:
- allowed_formats
- text - text
third_party_settings:
allowed_formats:
minimalhtml: minimalhtml
basic_html: '0'
restricted_html: '0'
minimalhtmltitle: '0'
full_html: '0'
plain_text: '0'
_core: _core:
default_config_hash: TmAKjNrJ7RR60YpqvJq_QqEewYe_S8Kd23n8VRCqiWs default_config_hash: TmAKjNrJ7RR60YpqvJq_QqEewYe_S8Kd23n8VRCqiWs
id: comment.comment.comment_body id: comment.comment.comment_body