Config update:

- Embedding media with CKEditor
- Adding media to Linkit
- Adding Full screen WYSIWYG button
- Turn on file delete by default
- Archive workflow default revision fix
- Bulk media upload functionality
- Add "Very Simple HTML" editor type
This commit is contained in:
alex 2022-01-31 11:58:48 -07:00
parent acc3da7679
commit a4496d666d
17 changed files with 1039 additions and 704 deletions

View File

@ -1,3 +1,4 @@
uuid: fd0c0d83-dfc8-40de-9a8e-ad850d19689c
langcode: en
status: true
dependencies:
@ -6,7 +7,7 @@ dependencies:
module:
- ckeditor
_core:
default_config_hash: cPokN2EHInplxfoCsp5JbBM5maobjCax8Q0hI79yu-I
default_config_hash: TljEERgwJ7gXa44lcWjt3dxav-Orb912H7WbSgTdeYQ
format: basic_html
editor: ckeditor
settings:
@ -38,7 +39,7 @@ settings:
name: Media
items:
- Blockquote
- DrupalImage
- DrupalMediaLibrary
-
name: Indent
items:
@ -56,6 +57,7 @@ settings:
- PasteText
- Paste
- PasteFromWord
- Maximize
plugins:
stylescombo:
styles: ''

View File

@ -1,3 +1,4 @@
uuid: a1287bda-277b-47a6-a883-81b27903dd17
langcode: en
status: true
dependencies:
@ -6,7 +7,7 @@ dependencies:
module:
- ckeditor
_core:
default_config_hash: uYmoPFHVJKBRR298UxL6cyZUGWPrSCWr89c819k2Vsw
default_config_hash: 5kuowXa-gvTyefEo8KxgMHR9kzci3qKxZnD79IDGVbc
format: full_html
editor: ckeditor
settings:
@ -43,7 +44,6 @@ settings:
items:
- Blockquote
- DrupalMediaLibrary
- DrupalImage
-
name: Indent
items:
@ -62,6 +62,7 @@ settings:
- PasteText
- PasteFromWord
- SpecialChar
- Maximize
plugins:
stylescombo:
styles: ''

View File

@ -0,0 +1,48 @@
uuid: 11ef1ea8-8379-4f80-8c5c-35ae99618a38
langcode: en
status: true
dependencies:
config:
- filter.format.super_simple_html
module:
- ckeditor
format: super_simple_html
editor: ckeditor
settings:
toolbar:
rows:
-
-
name: Formatting
items:
- Bold
- Italic
- Underline
-
name: Links
items:
- DrupalLink
- DrupalUnlink
-
name: Lists
items:
- BulletedList
- NumberedList
plugins:
stylescombo:
styles: ''
drupallink:
linkit_enabled: true
linkit_profile: default
language:
language_list: un
indentblock:
enable: 1
image_upload:
status: false
scheme: public
directory: inline-images
max_size: ''
max_dimensions:
width: null
height: null

View File

@ -1,3 +1,4 @@
uuid: 4e459a7c-6370-4038-a6b9-5b7699b2ef47
langcode: en
status: true
dependencies:
@ -6,10 +7,10 @@ dependencies:
- linkit
- media
_core:
default_config_hash: e2imP25RNuUWcbrjeTGLN3HppQQCHQFdbzEIZHtOZGo
default_config_hash: tE9-HOLiokg8H3jOHP05vw3R1S0AAKOMNYYl5w7hRl0
name: 'Basic HTML'
format: basic_html
weight: 0
weight: -9
filters:
editor_file_reference:
id: editor_file_reference
@ -83,7 +84,7 @@ filters:
weight: -40
settings:
default_view_mode: default
allowed_view_modes: { }
allowed_media_types:
image: image
remote_video: remote_video
allowed_view_modes: { }

View File

@ -1,3 +1,4 @@
uuid: 1dbe3c3c-69d3-489c-8c4c-c47dd6bc0b84
langcode: en
status: true
dependencies:
@ -6,10 +7,10 @@ dependencies:
- linkit
- media
_core:
default_config_hash: '-qIN_4IGcHrWnOcJZiW-sjdiJVCke4Hvtw7wgC8zA3Q'
default_config_hash: PARr107shdCKQoXCzP7eGqHnUAQuOJox6RoFqU_sA0E
name: 'Full HTML'
format: full_html
weight: 0
weight: -8
filters:
editor_file_reference:
id: editor_file_reference
@ -23,7 +24,7 @@ filters:
status: false
weight: -45
settings:
allowed_html: '<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> <a href hreflang data-entity-substitution data-entity-type data-entity-uuid title> <u> <s> <sup> <sub> <img src alt data-entity-type data-entity-uuid data-align data-caption> <p> <h1> <pre> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr>'
allowed_html: '<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> <u> <s> <sup> <sub> <img src alt data-entity-type data-entity-uuid data-align data-caption> <p> <h1> <pre> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <a href hreflang data-entity-substitution data-entity-type data-entity-uuid title name> <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
filter_align:
@ -52,12 +53,12 @@ filters:
weight: -46
settings:
default_view_mode: default
allowed_view_modes: { }
allowed_media_types:
document: document
image: image
remote_video: remote_video
svg: svg
allowed_view_modes: { }
filter_html_image_secure:
id: filter_html_image_secure
provider: filter

View File

@ -1,9 +1,12 @@
uuid: 4e03763e-6ca4-4d0d-aedb-c93d3a46c13e
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: NIKBt6kw_uPhNI0qtR2DnRf7mSOgAQdx7Q94SKMjXbQ
name: 'Plain text'
format: plain_text
weight: 10
weight: -7
filters:
filter_html_escape:
id: filter_html_escape

View File

@ -0,0 +1,45 @@
uuid: 85393578-a98f-4a46-ac8f-b12011798575
langcode: en
status: true
dependencies:
module:
- linkit
name: 'Super Simple HTML'
format: super_simple_html
weight: -10
filters:
filter_url:
id: filter_url
provider: filter
status: true
weight: 0
settings:
filter_url_length: 72
filter_html:
id: filter_html
provider: filter
status: true
weight: -10
settings:
allowed_html: '<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> <a href hreflang data-entity-substitution data-entity-type data-entity-uuid title> <u>'
filter_html_help: true
filter_html_nofollow: false
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: 10
settings: { }
linkit:
id: linkit
provider: linkit
status: true
weight: 0
settings:
title: true

View File

@ -1,20 +1,34 @@
uuid: edd52fcb-7acf-49f8-a12f-7eb9d68eb023
langcode: en
status: true
dependencies:
module:
- node
id: default
_core:
default_config_hash: DMXDHMLy680frzyo-SudMMiN3lzBLwh5iQqRREX0rWo
label: 'Default Linkit Profile'
id: default
description: 'Default Linkit profile.'
matchers:
556010a3-e317-48b3-b4ed-854c10f4b950:
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950
id: 'entity:node'
weight: 0
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950
settings:
metadata: 'by [node:author] | [node:created:medium]'
bundles: { }
group_by_bundle: false
include_unpublished: false
substitution_type: canonical
limit: 100
include_unpublished: false
weight: 0
3666cc5a-7dca-44e0-aefb-8bc572088987:
id: 'entity:media'
uuid: 3666cc5a-7dca-44e0-aefb-8bc572088987
settings:
metadata: '([media:field_media_file])'
bundles:
document: document
group_by_bundle: true
substitution_type: canonical
limit: 100
weight: 0

View File

@ -0,0 +1,14 @@
uuid: 6b15e85a-ba93-4f0a-98a4-f412b804730d
langcode: en
status: true
dependencies: { }
id: bulk_upload_documents
label: 'Bulk upload documents'
media_types:
document: document
image: 0
remote_video: 0
svg: 0
form_mode: ''
show_alt: null
show_title: null

View File

@ -0,0 +1,14 @@
uuid: 682cc50a-7866-49f8-8b61-f72d633229b9
langcode: en
status: true
dependencies: { }
id: bulk_upload_images
label: 'Bulk upload images'
media_types:
image: image
document: 0
remote_video: 0
svg: 0
form_mode: ''
show_alt: null
show_title: null

View File

@ -0,0 +1,14 @@
uuid: bf73e02d-a88f-4125-bcfb-fa50d1a39d8b
langcode: en
status: true
dependencies: { }
id: bulk_upload_svgs
label: 'Bulk upload SVGs'
media_types:
svg: svg
document: 0
image: 0
remote_video: 0
form_mode: ''
show_alt: null
show_title: null

View File

@ -1,8 +1,34 @@
uuid: f793b9f6-842c-417a-9618-8c010b68d1a2
langcode: en
status: true
dependencies: { }
dependencies:
config:
- filter.format.basic_html
- filter.format.super_simple_html
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.svg
- node.type.homepage
- workflows.workflow.default_workflow
module:
- actions_permissions
- content_moderation
- contextual
- dropzonejs
- entity_usage
- file
- filter
- honeypot
- media
- node
- paragraphs
- scheduled_transitions
- system
- taxonomy
- toolbar
_core:
default_config_hash: ssKOPBxYCpskWvSdyNHY7rGxBtVfNn3JNHqGOFCbg9M
default_config_hash: Xoc9aTjAG5PjRkEjZwKRmsC0GgwwydqVWPe5Z8MldM0
id: editor
label: Editor
weight: -7
@ -43,6 +69,7 @@ permissions:
- 'update media'
- 'use default_workflow transition create_new_draft'
- 'use text format basic_html'
- 'use text format super_simple_html'
- 'view all media revisions'
- 'view all scheduled transitions'
- 'view any unpublished content'

View File

@ -1,8 +1,38 @@
uuid: 46a494b6-3faf-48bd-bcb8-ccb8a4777fe7
langcode: en
status: true
dependencies: { }
dependencies:
config:
- filter.format.basic_html
- filter.format.super_simple_html
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.svg
- node.type.homepage
- workflows.workflow.default_workflow
module:
- actions_permissions
- content_moderation
- contextual
- dropzonejs
- entity_browser
- entity_usage
- file
- file_delete
- filter
- honeypot
- media
- node
- paragraphs
- paragraphs_library
- scheduled_transitions
- system
- taxonomy
- toolbar
- webform
_core:
default_config_hash: 5Fx55uZUVlSFPl__4uUInZTpUsPHLg-lgx0F7HBytYw
default_config_hash: VuN51sefC4jJSG_FKz7ieOHlSUYKqwvXOsiInzPKmbQ
id: publisher
label: Publisher
weight: -6
@ -93,6 +123,7 @@ permissions:
- 'use default_workflow transition create_new_draft'
- 'use default_workflow transition publish'
- 'use text format basic_html'
- 'use text format super_simple_html'
- 'view all media revisions'
- 'view all scheduled transitions'
- 'view any unpublished content'

View File

@ -1,8 +1,43 @@
uuid: 16a66e8b-62ad-4ea3-b094-012bb5a64be0
langcode: en
status: true
dependencies: { }
dependencies:
config:
- filter.format.basic_html
- filter.format.full_html
- filter.format.super_simple_html
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.svg
- node.type.homepage
- workflows.workflow.default_workflow
module:
- actions_permissions
- administerusersbyrole
- block
- content_moderation
- contextual
- dropzonejs
- entity_browser
- entity_usage
- file
- file_delete
- filter
- honeypot
- media
- node
- paragraphs
- paragraphs_library
- path
- scheduled_transitions
- system
- taxonomy
- toolbar
- ultimate_cron
- webform
_core:
default_config_hash: FT5l4DMENLTs9jjeb_sYPFGvzBUokJs3MX6oxIVJT7k
default_config_hash: kDk36JsR2MxvvOh8_M17KBrPjODEWEncuF7u4ngG9N0
id: site_admin
label: 'Site Admin'
weight: -5
@ -120,6 +155,7 @@ permissions:
- 'use default_workflow transition publish'
- 'use text format basic_html'
- 'use text format full_html'
- 'use text format super_simple_html'
- 'view all media revisions'
- 'view all revisions'
- 'view all scheduled transitions'

View File

@ -1,8 +1,34 @@
uuid: 3143c3a2-24aa-4c0d-80e3-aa94d5fc791c
langcode: en
status: true
dependencies: { }
dependencies:
config:
- filter.format.basic_html
- filter.format.super_simple_html
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.svg
- node.type.homepage
- workflows.workflow.default_workflow
module:
- actions_permissions
- content_moderation
- contextual
- dropzonejs
- entity_usage
- file
- filter
- honeypot
- media
- node
- paragraphs
- scheduled_transitions
- system
- taxonomy
- toolbar
_core:
default_config_hash: vEHEFfIxyGoxam9xZSM8FHFFsheo10eTnRRX-8dNcwM
default_config_hash: QVkZLglmBfXKcGLqNIi49uyITk6GxJxLU0RGpdWhcVE
id: writer
label: Writer
weight: -8
@ -43,6 +69,7 @@ permissions:
- 'update media'
- 'use default_workflow transition create_new_draft'
- 'use text format basic_html'
- 'use text format super_simple_html'
- 'view all media revisions'
- 'view all scheduled transitions'
- 'view any unpublished content'

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
uuid: 94ac2dc5-c4c5-4165-ad70-de6f40560351
langcode: en
status: true
dependencies:
@ -6,27 +7,27 @@ dependencies:
module:
- content_moderation
_core:
default_config_hash: Hgj7xsrbxpzqdf9PoklEoVoSsq6rh_Y89k4-x5ZuXh4
default_config_hash: DWg6oGHlIdQMB21RC0fiyKTjJQ_qiEmKM8MFNnFcXxo
id: default_workflow
label: 'Default workflow'
type: content_moderation
type_settings:
states:
archived:
published: false
default_revision: false
label: Archived
weight: 2
published: false
default_revision: true
draft:
label: Draft
weight: 0
published: false
default_revision: false
weight: 0
published:
label: Published
weight: 1
published: true
default_revision: true
weight: 1
transitions:
archive:
label: Archive
@ -37,18 +38,18 @@ type_settings:
weight: 2
create_new_draft:
label: Draft
to: draft
weight: 0
from:
- archived
- published
to: draft
weight: 0
publish:
label: Publish
to: published
weight: 1
from:
- archived
- draft
to: published
weight: 1
entity_types:
node:
- homepage