Skip to content

Commit

Permalink
VACMS-16327: Changes accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Feb 7, 2024
1 parent 64a2154 commit 8b6d9f0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ dependencies:
- field.field.paragraph.basic_accordion.field_rich_wysiwyg
- paragraphs.paragraphs_type.basic_accordion
module:
- text
- allowed_formats
- textfield_counter
id: paragraph.basic_accordion.default
targetEntityType: paragraph
bundle: basic_accordion
Expand All @@ -22,13 +23,22 @@ content:
placeholder: ''
third_party_settings: { }
field_rich_wysiwyg:
type: text_textarea
type: text_textarea_with_counter
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
maxlength: 240
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '0'
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ dependencies:
config:
- field.storage.paragraph.field_header
- paragraphs.paragraphs_type.basic_accordion
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: paragraph.basic_accordion.field_header
field_name: field_header
entity_type: paragraph
bundle: basic_accordion
label: Header
description: ''
description: 'This is shown when the accordion is open or closed. Learn more about accordions on the <a href="https://design.va.gov/components/accordion" target="_blank">VA design system accordion page (opens in a new window)</a>. '
required: true
translatable: false
default_value: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@ dependencies:
module:
- allowed_formats
- text
- tmgmt_content
third_party_settings:
allowed_formats:
allowed_formats:
- rich_text_limited
tmgmt_content:
excluded: false
id: paragraph.basic_accordion.field_rich_wysiwyg
field_name: field_rich_wysiwyg
entity_type: paragraph
bundle: basic_accordion
label: 'Rich text'
description: ''
label: Content
description: 'Accordion content should be kept succinct and follow <a href="https://design.va.gov/content-style-guide/" target="_blank">VA content guidance (opens in a new window)</a>.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long

0 comments on commit 8b6d9f0

Please sign in to comment.