Commit 6b1c7013 authored by webchick's avatar webchick

Issue #3086965 by shaal, markconroy, webchick, kjay: Allow embedding media in CKEditor in Umami

(cherry picked from commit 0a711ca8)
parent 17df201c
......@@ -30,7 +30,7 @@ settings:
name: Media
items:
- Blockquote
- DrupalImage
- DrupalMediaLibrary
-
name: 'Block Formatting'
items:
......@@ -40,13 +40,15 @@ settings:
items:
- Source
plugins:
language:
language_list: un
stylescombo:
styles: ''
image_upload:
status: true
status: false
scheme: public
directory: inline-images
max_size: ''
max_dimensions:
width: 0
height: 0
width: null
height: null
......@@ -35,7 +35,7 @@ settings:
name: Media
items:
- Blockquote
- DrupalImage
- DrupalMediaLibrary
- Table
- HorizontalRule
-
......@@ -48,6 +48,8 @@ settings:
- ShowBlocks
- Source
plugins:
language:
language_list: un
stylescombo:
styles: ''
image_upload:
......@@ -56,5 +58,5 @@ image_upload:
directory: inline-images
max_size: ''
max_dimensions:
width: 0
height: 0
width: null
height: null
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.responsive_3x2
module:
- editor
- media
name: 'Basic HTML'
format: basic_html
weight: 0
roles:
- authenticated
filters:
filter_html:
id: filter_html
......@@ -15,7 +16,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: '<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> <drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>'
filter_html_help: false
filter_html_nofollow: false
filter_align:
......@@ -48,3 +49,15 @@ filters:
status: true
weight: 0
settings: { }
media_embed:
id: media_embed
provider: media
status: true
weight: 100
settings:
default_view_mode: responsive_3x2
allowed_view_modes:
responsive_3x2: responsive_3x2
allowed_media_types:
image: image
remote_video: remote_video
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.responsive_3x2
module:
- editor
- media
name: 'Full HTML'
format: full_html
weight: 2
roles:
- administrator
filters:
filter_align:
id: filter_align
......@@ -33,3 +34,24 @@ filters:
status: true
weight: 11
settings: { }
filter_html:
id: filter_html
provider: filter
status: false
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> <s> <sup> <sub> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <hr> <p> <h1> <pre> <drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>'
filter_html_help: true
filter_html_nofollow: false
media_embed:
id: media_embed
provider: media
status: true
weight: 100
settings:
default_view_mode: responsive_3x2
allowed_view_modes:
responsive_3x2: responsive_3x2
allowed_media_types:
image: image
remote_video: remote_video
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment