From 26a04f78b8c41cde4bdade9732dd5493bace3add Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Mon, 26 Feb 2024 11:45:48 -0800 Subject: [PATCH 1/6] Inject CSS so that images fill full width of grid item inside of multiparagraph --- ...sset_injector.css.grid_paragraph_image.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/asset_injector.css.grid_paragraph_image.yml diff --git a/config/asset_injector.css.grid_paragraph_image.yml b/config/asset_injector.css.grid_paragraph_image.yml new file mode 100644 index 0000000..ca08b34 --- /dev/null +++ b/config/asset_injector.css.grid_paragraph_image.yml @@ -0,0 +1,21 @@ +uuid: 4807a852-0c98-4464-b94a-69f839b9f0c1 +langcode: en +status: true +dependencies: + module: + - block_visibility_groups +id: grid_paragraph_image +label: 'Grid paragraph image' +code: |- + .grid__item .paragraph--type--image img { + width: 100%; + } +media: all +preprocess: true +conditions: + condition_group: + id: condition_group + negate: false + block_visibility_group: '' +contexts: { } +conditions_require_all: true From a582e99cb3b80cd20c3fc9b5d5632e4a25c841c8 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Mon, 26 Feb 2024 11:49:29 -0800 Subject: [PATCH 2/6] Enable advanced link module --- config/core.extension.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/core.extension.yml b/config/core.extension.yml index 1e16de9..cb8339d 100644 --- a/config/core.extension.yml +++ b/config/core.extension.yml @@ -54,6 +54,7 @@ module: drutopia_user: 0 dynamic_page_cache: 0 editor: 0 + editor_advanced_link: 0 entity_reference_revisions: 0 exclude_node_title: 0 facets: 0 From 7a6929a69e69338204b67d4c46c17022880d612a Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Mon, 26 Feb 2024 11:55:18 -0800 Subject: [PATCH 3/6] Enable the option for links to open in new window in Basic HTML text format --- config/editor.editor.basic_html.yml | 3 +++ config/filter.format.basic_html.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/editor.editor.basic_html.yml b/config/editor.editor.basic_html.yml index 58054c8..0f0ee0f 100644 --- a/config/editor.editor.basic_html.yml +++ b/config/editor.editor.basic_html.yml @@ -56,6 +56,9 @@ settings: - '

' - '

' - '
' + editor_advanced_link_link: + enabled_attributes: + - target linkit_extension: linkit_enabled: true linkit_profile: default diff --git a/config/filter.format.basic_html.yml b/config/filter.format.basic_html.yml index a4ecc39..69a51f1 100644 --- a/config/filter.format.basic_html.yml +++ b/config/filter.format.basic_html.yml @@ -36,7 +36,7 @@ filters: status: true weight: -10 settings: - allowed_html: '