mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-26 11:14:35 +00:00
Apply basic_html_format_editor recipe
This commit is contained in:
parent
dbefa59eac
commit
7f8c599299
3 changed files with 123 additions and 0 deletions
68
drupal10/config/editor.editor.basic_html.yml
Normal file
68
drupal10/config/editor.editor.basic_html.yml
Normal file
|
@ -0,0 +1,68 @@
|
|||
uuid: 8846c65e-3692-4f7b-a8e0-0bf08c886046
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- filter.format.basic_html
|
||||
module:
|
||||
- ckeditor5
|
||||
_core:
|
||||
default_config_hash: Qi2tIe-L97EutlMmhEvhsNxZOpOoA-RH82c4BQb5n4A
|
||||
format: basic_html
|
||||
editor: ckeditor5
|
||||
settings:
|
||||
toolbar:
|
||||
items:
|
||||
- bold
|
||||
- italic
|
||||
- '|'
|
||||
- link
|
||||
- '|'
|
||||
- bulletedList
|
||||
- numberedList
|
||||
- '|'
|
||||
- blockQuote
|
||||
- drupalInsertImage
|
||||
- '|'
|
||||
- heading
|
||||
- code
|
||||
- '|'
|
||||
- sourceEditing
|
||||
plugins:
|
||||
ckeditor5_heading:
|
||||
enabled_headings:
|
||||
- heading2
|
||||
- heading3
|
||||
- heading4
|
||||
- heading5
|
||||
- heading6
|
||||
ckeditor5_imageResize:
|
||||
allow_resize: true
|
||||
ckeditor5_list:
|
||||
properties:
|
||||
reversed: false
|
||||
startIndex: true
|
||||
multiBlock: true
|
||||
ckeditor5_sourceEditing:
|
||||
allowed_tags:
|
||||
- '<cite>'
|
||||
- '<dl>'
|
||||
- '<dt>'
|
||||
- '<dd>'
|
||||
- '<a hreflang>'
|
||||
- '<blockquote cite>'
|
||||
- '<ul type>'
|
||||
- '<ol type>'
|
||||
- '<h2 id>'
|
||||
- '<h3 id>'
|
||||
- '<h4 id>'
|
||||
- '<h5 id>'
|
||||
- '<h6 id>'
|
||||
image_upload:
|
||||
status: true
|
||||
scheme: public
|
||||
directory: inline-images
|
||||
max_size: null
|
||||
max_dimensions:
|
||||
width: null
|
||||
height: null
|
51
drupal10/config/filter.format.basic_html.yml
Normal file
51
drupal10/config/filter.format.basic_html.yml
Normal file
|
@ -0,0 +1,51 @@
|
|||
uuid: d7d9c3d0-ec67-4c6e-a872-878a6ab640e2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- editor
|
||||
_core:
|
||||
default_config_hash: mclCbTlJwWJORez4Y1eX2MqA0aGjSMAoJb3TaBABcK8
|
||||
name: 'Basic HTML'
|
||||
format: basic_html
|
||||
weight: 0
|
||||
filters:
|
||||
editor_file_reference:
|
||||
id: editor_file_reference
|
||||
provider: editor
|
||||
status: true
|
||||
weight: 11
|
||||
settings: { }
|
||||
filter_align:
|
||||
id: filter_align
|
||||
provider: filter
|
||||
status: true
|
||||
weight: 7
|
||||
settings: { }
|
||||
filter_caption:
|
||||
id: filter_caption
|
||||
provider: filter
|
||||
status: true
|
||||
weight: 8
|
||||
settings: { }
|
||||
filter_html:
|
||||
id: filter_html
|
||||
provider: filter
|
||||
status: true
|
||||
weight: -10
|
||||
settings:
|
||||
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> <img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
|
||||
filter_html_help: false
|
||||
filter_html_nofollow: false
|
||||
filter_html_image_secure:
|
||||
id: filter_html_image_secure
|
||||
provider: filter
|
||||
status: true
|
||||
weight: 9
|
||||
settings: { }
|
||||
filter_image_lazy_load:
|
||||
id: filter_image_lazy_load
|
||||
provider: filter
|
||||
status: true
|
||||
weight: 15
|
||||
settings: { }
|
|
@ -2,7 +2,10 @@ uuid: d683432d-6eb1-4a04-8923-91a7308211a4
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- filter.format.basic_html
|
||||
module:
|
||||
- filter
|
||||
- media
|
||||
- system
|
||||
_core:
|
||||
|
@ -13,4 +16,5 @@ weight: 1
|
|||
is_admin: false
|
||||
permissions:
|
||||
- 'access content'
|
||||
- 'use text format basic_html'
|
||||
- 'view media'
|
||||
|
|
Loading…
Reference in a new issue