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

View file

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