Allow editors to use the wide view mode for images in basic HTML text format

This commit is contained in:
Keegan Rankin 2024-03-04 15:08:22 -08:00
parent b80a7dfd09
commit f8792b6f92
2 changed files with 7 additions and 3 deletions

View file

@ -63,7 +63,7 @@ settings:
linkit_enabled: true linkit_enabled: true
linkit_profile: default linkit_profile: default
media_media: media_media:
allow_view_mode_override: false allow_view_mode_override: true
image_upload: image_upload:
status: true status: true
scheme: public scheme: public

View file

@ -2,6 +2,8 @@ uuid: 93056a5a-c628-4a3f-91f9-4ccb5927d6c7
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- core.entity_view_mode.media.wide
module: module:
- editor - editor
- linkit - linkit
@ -36,7 +38,7 @@ filters:
status: true status: true
weight: -10 weight: -10
settings: settings:
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href data-entity-type data-entity-uuid data-entity-substitution target="_blank"> <blockquote cite> <ul type> <ol type start> <strong> <em> <code> <li> <drupal-media data-entity-type data-entity-uuid alt data-caption data-align>' allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href target="_blank" data-entity-type data-entity-uuid data-entity-substitution> <blockquote cite> <ul type> <ol type start> <strong> <em> <code> <li> <drupal-media data-entity-type data-entity-uuid alt data-view-mode data-caption data-align>'
filter_html_help: false filter_html_help: false
filter_html_nofollow: false filter_html_nofollow: false
filter_html_image_secure: filter_html_image_secure:
@ -59,5 +61,7 @@ filters:
weight: 100 weight: 100
settings: settings:
default_view_mode: default default_view_mode: default
allowed_view_modes: { } allowed_view_modes:
default: default
wide: wide
allowed_media_types: { } allowed_media_types: { }