Enable use of media library in WYSIWYG editor
This commit is contained in:
parent
101f8e0e54
commit
1a5a731fa1
2 changed files with 14 additions and 4 deletions
|
@ -22,12 +22,12 @@ settings:
|
||||||
- numberedList
|
- numberedList
|
||||||
- '|'
|
- '|'
|
||||||
- blockQuote
|
- blockQuote
|
||||||
- drupalInsertImage
|
|
||||||
- '|'
|
- '|'
|
||||||
- heading
|
- heading
|
||||||
- code
|
- code
|
||||||
- '|'
|
- '|'
|
||||||
- sourceEditing
|
- sourceEditing
|
||||||
|
- drupalMedia
|
||||||
plugins:
|
plugins:
|
||||||
ckeditor5_heading:
|
ckeditor5_heading:
|
||||||
enabled_headings:
|
enabled_headings:
|
||||||
|
@ -36,8 +36,6 @@ settings:
|
||||||
- heading4
|
- heading4
|
||||||
- heading5
|
- heading5
|
||||||
- heading6
|
- heading6
|
||||||
ckeditor5_imageResize:
|
|
||||||
allow_resize: true
|
|
||||||
ckeditor5_list:
|
ckeditor5_list:
|
||||||
reversed: false
|
reversed: false
|
||||||
startIndex: true
|
startIndex: true
|
||||||
|
@ -56,6 +54,8 @@ settings:
|
||||||
- '<h4 id>'
|
- '<h4 id>'
|
||||||
- '<h5 id>'
|
- '<h5 id>'
|
||||||
- '<h6 id>'
|
- '<h6 id>'
|
||||||
|
media_media:
|
||||||
|
allow_view_mode_override: false
|
||||||
image_upload:
|
image_upload:
|
||||||
status: true
|
status: true
|
||||||
scheme: public
|
scheme: public
|
||||||
|
|
|
@ -4,6 +4,7 @@ status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
module:
|
module:
|
||||||
- editor
|
- editor
|
||||||
|
- media
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko
|
default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko
|
||||||
name: 'Basic HTML'
|
name: 'Basic HTML'
|
||||||
|
@ -16,7 +17,7 @@ filters:
|
||||||
status: true
|
status: true
|
||||||
weight: -10
|
weight: -10
|
||||||
settings:
|
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_help: false
|
||||||
filter_html_nofollow: false
|
filter_html_nofollow: false
|
||||||
filter_align:
|
filter_align:
|
||||||
|
@ -43,3 +44,12 @@ filters:
|
||||||
status: true
|
status: true
|
||||||
weight: 11
|
weight: 11
|
||||||
settings: { }
|
settings: { }
|
||||||
|
media_embed:
|
||||||
|
id: media_embed
|
||||||
|
provider: media
|
||||||
|
status: true
|
||||||
|
weight: 100
|
||||||
|
settings:
|
||||||
|
default_view_mode: default
|
||||||
|
allowed_view_modes: { }
|
||||||
|
allowed_media_types: { }
|
||||||
|
|
Loading…
Reference in a new issue