Enable use of media library in WYSIWYG editor

This commit is contained in:
Keegan Rankin 2023-12-28 09:01:25 -08:00
parent 101f8e0e54
commit 1a5a731fa1
2 changed files with 14 additions and 4 deletions

View file

@ -22,12 +22,12 @@ settings:
- numberedList
- '|'
- blockQuote
- drupalInsertImage
- '|'
- heading
- code
- '|'
- sourceEditing
- drupalMedia
plugins:
ckeditor5_heading:
enabled_headings:
@ -36,8 +36,6 @@ settings:
- heading4
- heading5
- heading6
ckeditor5_imageResize:
allow_resize: true
ckeditor5_list:
reversed: false
startIndex: true
@ -56,6 +54,8 @@ settings:
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
media_media:
allow_view_mode_override: false
image_upload:
status: true
scheme: public

View file

@ -4,6 +4,7 @@ status: true
dependencies:
module:
- editor
- media
_core:
default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko
name: 'Basic HTML'
@ -16,7 +17,7 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <p> <br> <span> <img src alt height width data-entity-type data-entity-uuid data-align data-caption>'
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol start type> <strong> <em> <code> <li> <drupal-media data-entity-type data-entity-uuid alt data-caption data-align>'
filter_html_help: false
filter_html_nofollow: false
filter_align:
@ -43,3 +44,12 @@ filters:
status: true
weight: 11
settings: { }
media_embed:
id: media_embed
provider: media
status: true
weight: 100
settings:
default_view_mode: default
allowed_view_modes: { }
allowed_media_types: { }