-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VACMS-1164: Adding wysiwyg replacement field to config. Step 1 of 4. (#…
…1364) * VACMS-1164: Adding wysiwyg replacement field to config. Step 1 of 4. * VACMS-1164 Updating field model tests. * VACMS-1164: Adding limited tag format wysiwyg. * VACMS-1164: Updating wysiwyg format config. * VACMS-1164: Updating phpunit role perm tests. Co-authored-by: Steve Wirt <[email protected]>
- Loading branch information
1 parent
99caa01
commit ad1b913
Showing
14 changed files
with
223 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
uuid: 82d49673-a0b5-4c5a-ada7-1762fc50cba3 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- filter.format.rich_text_limited | ||
module: | ||
- ckeditor | ||
format: rich_text_limited | ||
editor: ckeditor | ||
settings: | ||
toolbar: | ||
rows: | ||
- | ||
- | ||
name: Formatting | ||
items: | ||
- Bold | ||
- Italic | ||
- | ||
name: Links | ||
items: | ||
- DrupalLink | ||
- DrupalUnlink | ||
plugins: | ||
language: | ||
language_list: un | ||
stylescombo: | ||
styles: '' | ||
drupallink: | ||
linkit_enabled: true | ||
linkit_profile: default | ||
image_upload: | ||
status: false | ||
scheme: public | ||
directory: inline-images | ||
max_size: '' | ||
max_dimensions: | ||
width: null | ||
height: null |
21 changes: 21 additions & 0 deletions
21
config/sync/field.field.node.page.field_intro_text_limited_html.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
uuid: 8fc7b58a-2305-4893-9448-26719ba58956 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.field_intro_text_limited_html | ||
- node.type.page | ||
module: | ||
- text | ||
id: node.page.field_intro_text_limited_html | ||
field_name: field_intro_text_limited_html | ||
entity_type: node | ||
bundle: page | ||
label: 'Intro text' | ||
description: 'This is displayed directly beneath the title as an introduction to the page. This text should help a user figure out whether the information on this page is relevant to them, and should be written in the 2nd person. It will never be shown alongside the Description, so it''s ok for it to be duplicative of that information. This field supports the following HTML tags: <em> <strong> <br> <p> <a>' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: text_long |
19 changes: 19 additions & 0 deletions
19
config/sync/field.storage.node.field_intro_text_limited_html.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
uuid: 022007a2-191e-4632-9f5e-c5952ca9e48d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- node | ||
- text | ||
id: node.field_intro_text_limited_html | ||
field_name: field_intro_text_limited_html | ||
entity_type: node | ||
type: text_long | ||
settings: { } | ||
module: text | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
uuid: c3dde07b-29e7-485d-ada5-4a47bc0c5d21 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- blazy | ||
- editor | ||
- entity_embed | ||
- linkit | ||
- markdown | ||
- media | ||
- pathologic | ||
_core: | ||
default_config_hash: Mc8Hl-Ya14lrbMXaUx7Ybmv-18vtqE4lw2DpgNHPj-s | ||
name: 'Rich Text Limited' | ||
format: rich_text_limited | ||
weight: 1 | ||
filters: | ||
filter_align: | ||
id: filter_align | ||
provider: filter | ||
status: false | ||
weight: -43 | ||
settings: { } | ||
filter_caption: | ||
id: filter_caption | ||
provider: filter | ||
status: false | ||
weight: -42 | ||
settings: { } | ||
filter_htmlcorrector: | ||
id: filter_htmlcorrector | ||
provider: filter | ||
status: true | ||
weight: -49 | ||
settings: { } | ||
editor_file_reference: | ||
id: editor_file_reference | ||
provider: editor | ||
status: false | ||
weight: -48 | ||
settings: { } | ||
entity_embed: | ||
id: entity_embed | ||
provider: entity_embed | ||
status: false | ||
weight: -44 | ||
settings: { } | ||
filter_html: | ||
id: filter_html | ||
provider: filter | ||
status: true | ||
weight: -50 | ||
settings: | ||
allowed_html: '<em> <strong> <br> <p> <a>' | ||
filter_html_help: true | ||
filter_html_nofollow: false | ||
filter_autop: | ||
id: filter_autop | ||
provider: filter | ||
status: true | ||
weight: -40 | ||
settings: { } | ||
filter_html_escape: | ||
id: filter_html_escape | ||
provider: filter | ||
status: false | ||
weight: -41 | ||
settings: { } | ||
filter_html_image_secure: | ||
id: filter_html_image_secure | ||
provider: filter | ||
status: false | ||
weight: -39 | ||
settings: { } | ||
filter_url: | ||
id: filter_url | ||
provider: filter | ||
status: true | ||
weight: -47 | ||
settings: | ||
filter_url_length: 72 | ||
linkit: | ||
id: linkit | ||
provider: linkit | ||
status: true | ||
weight: -45 | ||
settings: | ||
title: true | ||
markdown: | ||
id: markdown | ||
provider: markdown | ||
status: false | ||
weight: -38 | ||
settings: | ||
markdown_library: php-markdown | ||
filter_pathologic: | ||
id: filter_pathologic | ||
provider: pathologic | ||
status: true | ||
weight: -46 | ||
settings: | ||
settings_source: local | ||
local_settings: | ||
protocol_style: path | ||
local_paths: '' | ||
blazy_filter: | ||
id: blazy_filter | ||
provider: blazy | ||
status: false | ||
weight: 3 | ||
settings: | ||
filter_tags: | ||
img: img | ||
iframe: iframe | ||
media_switch: '' | ||
use_data_uri: '0' | ||
media_embed: | ||
id: media_embed | ||
provider: media | ||
status: false | ||
weight: 100 | ||
settings: | ||
default_view_mode: default | ||
allowed_media_types: { } | ||
allowed_view_modes: { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ad1b913
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed:
va/tests/accessibility
ad1b913
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Test Failed:
va/tests/accessibility