-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added modal colorbox image display choices in the wysiwyg (#826)
- Loading branch information
Showing
8 changed files
with
247 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
config/sync/core.entity_view_display.media.image.large_modal.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,54 @@ | ||
uuid: 2b2c0e22-8ee7-4d00-840e-2eed9afa61c6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.large_modal | ||
- field.field.media.image.field_media_image | ||
- field.field.media.image.su_media_category | ||
- image.style.breakpoint_2xl_1x | ||
- image.style.large | ||
- media.type.image | ||
module: | ||
- colorbox | ||
- empty_fields | ||
- field_formatter_class | ||
- field_label | ||
- layout_builder | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
id: media.image.large_modal | ||
targetEntityType: media | ||
bundle: image | ||
mode: large_modal | ||
content: | ||
field_media_image: | ||
type: colorbox | ||
label: hidden | ||
settings: | ||
colorbox_image_style: breakpoint_2xl_1x | ||
colorbox_gallery: page | ||
colorbox_gallery_custom: '' | ||
colorbox_caption: auto | ||
colorbox_caption_custom: '' | ||
colorbox_node_style: large | ||
colorbox_node_style_first: large | ||
third_party_settings: | ||
empty_fields: | ||
handler: '' | ||
field_formatter_class: | ||
class: '' | ||
field_label: | ||
label_value: '' | ||
label_tag: '' | ||
weight: 6 | ||
region: content | ||
hidden: | ||
created: true | ||
name: true | ||
search_api_excerpt: true | ||
su_media_category: true | ||
thumbnail: true | ||
uid: true |
54 changes: 54 additions & 0 deletions
54
config/sync/core.entity_view_display.media.image.medium_modal.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,54 @@ | ||
uuid: f98966ea-7adf-47c2-ad3f-85055ea24ea7 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.medium_modal | ||
- field.field.media.image.field_media_image | ||
- field.field.media.image.su_media_category | ||
- image.style.breakpoint_2xl_1x | ||
- image.style.medium | ||
- media.type.image | ||
module: | ||
- colorbox | ||
- empty_fields | ||
- field_formatter_class | ||
- field_label | ||
- layout_builder | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
id: media.image.medium_modal | ||
targetEntityType: media | ||
bundle: image | ||
mode: medium_modal | ||
content: | ||
field_media_image: | ||
type: colorbox | ||
label: hidden | ||
settings: | ||
colorbox_image_style: breakpoint_2xl_1x | ||
colorbox_gallery: page | ||
colorbox_gallery_custom: '' | ||
colorbox_caption: auto | ||
colorbox_caption_custom: '' | ||
colorbox_node_style: medium | ||
colorbox_node_style_first: medium | ||
third_party_settings: | ||
empty_fields: | ||
handler: '' | ||
field_formatter_class: | ||
class: '' | ||
field_label: | ||
label_value: '' | ||
label_tag: '' | ||
weight: 6 | ||
region: content | ||
hidden: | ||
created: true | ||
name: true | ||
search_api_excerpt: true | ||
su_media_category: true | ||
thumbnail: true | ||
uid: true |
56 changes: 56 additions & 0 deletions
56
config/sync/core.entity_view_display.media.image.small_modal.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,56 @@ | ||
uuid: a4111c63-41f9-42ab-a8f1-70a8726911d1 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.small_modal | ||
- field.field.media.image.field_media_image | ||
- field.field.media.image.su_media_category | ||
- image.style.breakpoint_2xl_1x | ||
- image.style.thumbnail | ||
- media.type.image | ||
module: | ||
- colorbox | ||
- empty_fields | ||
- field_formatter_class | ||
- field_label | ||
- layout_builder | ||
third_party_settings: | ||
layout_builder: | ||
enabled: false | ||
allow_custom: false | ||
_core: | ||
default_config_hash: hSk8HhFOQGFB36lnn_tEKB38YVOq1uNpB-cdzzq5vMo | ||
id: media.image.small_modal | ||
targetEntityType: media | ||
bundle: image | ||
mode: small_modal | ||
content: | ||
field_media_image: | ||
type: colorbox | ||
label: hidden | ||
settings: | ||
colorbox_image_style: breakpoint_2xl_1x | ||
colorbox_gallery: page | ||
colorbox_gallery_custom: '' | ||
colorbox_caption: auto | ||
colorbox_caption_custom: '' | ||
colorbox_node_style: thumbnail | ||
colorbox_node_style_first: thumbnail | ||
third_party_settings: | ||
empty_fields: | ||
handler: '' | ||
field_formatter_class: | ||
class: '' | ||
field_label: | ||
label_value: '' | ||
label_tag: '' | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
name: true | ||
search_api_excerpt: true | ||
su_media_category: true | ||
thumbnail: true | ||
uid: true |
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,11 @@ | ||
uuid: f192f9f4-716f-40fd-be1d-66739d311c5a | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- media | ||
id: media.large_modal | ||
label: 'Large Modal' | ||
description: '' | ||
targetEntityType: media | ||
cache: true |
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,11 @@ | ||
uuid: 437a171d-2c27-48e1-b3ad-a8b55c1b0c37 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- media | ||
id: media.medium_modal | ||
label: 'Medium Modal' | ||
description: '' | ||
targetEntityType: media | ||
cache: true |
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,11 @@ | ||
uuid: a9df3242-e117-4b91-bd80-df6098ea4081 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- media | ||
id: media.small_modal | ||
label: 'Thumb Modal' | ||
description: '' | ||
targetEntityType: media | ||
cache: true |
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