From a8253356732a6154026f0ac09b7ff20ac703ddb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 19 Nov 2018 21:58:49 -0500 Subject: [PATCH] Add bust out of content flow option to text paragraphs Set to 'off' by default. This will replace our intuiting the need to bust out when a hero class is applied with the style classes dropdown. Someday, probably when we've moved beyond paragraphs, it would be so nice to have configurations of the art direction options themselves, so that regular usage is picking from a couple arranged options but there's an advanced option to get more granular. But for now, we'll live with the editor having to understand how things are supposed to work together. --- ...ty_form_display.paragraph.text.default.yml | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/config/sync/core.entity_form_display.paragraph.text.default.yml b/config/sync/core.entity_form_display.paragraph.text.default.yml index 52b1337..283cf7c 100644 --- a/config/sync/core.entity_form_display.paragraph.text.default.yml +++ b/config/sync/core.entity_form_display.paragraph.text.default.yml @@ -4,10 +4,29 @@ status: true dependencies: config: - field.field.paragraph.text.field_style_classes + - field.field.paragraph.text.field_style_escape_flow - field.field.paragraph.text.field_text - paragraphs.paragraphs_type.text module: + - field_group - text +third_party_settings: + field_group: + group_style: + children: + - field_style_classes + - field_style_escape_flow + parent_name: '' + weight: 1 + format_type: tab + format_settings: + id: '' + classes: '' + formatter: closed + description: '' + required_fields: true + label: Style + region: content _core: default_config_hash: HcHUk34p8VqAF8IVnIOT1SpvhP1C7UmNlFz8jHIDwE0 id: paragraph.text.default @@ -16,11 +35,18 @@ bundle: text mode: default content: field_style_classes: - weight: 1 + weight: 2 settings: { } third_party_settings: { } type: options_select region: content + field_style_escape_flow: + weight: 3 + settings: + display_label: false + third_party_settings: { } + type: boolean_checkbox + region: content field_text: weight: 0 settings: