Add Media Insert module

Allow for inserting media entities into blog posts.
This commit is contained in:
Oliver Davies 2021-01-30 17:18:10 +00:00
parent dcf180a651
commit d656c07339
5 changed files with 66 additions and 3 deletions

View file

@ -25,6 +25,7 @@
"drupal/honeypot": "^2.0",
"drupal/hook_event_dispatcher": "^2",
"drupal/hreflang": "^1.3",
"drupal/insert": "^2.0",
"drupal/markdown": "^1.3",
"drupal/menu_trail_by_path": "^1.3",
"drupal/metatag": "^1.11",

57
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6aa7c4e54ecdea98cfca107f6be3cc9e",
"content-hash": "2cd7a735076f7c850d3e2541afa139e0",
"packages": [
{
"name": "asm89/stack-cors",
@ -2956,6 +2956,61 @@
"source": "https://git.drupalcode.org/project/hreflang"
}
},
{
"name": "drupal/insert",
"version": "2.0.0-beta2",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/insert.git",
"reference": "8.x-2.0-beta2"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/insert-8.x-2.0-beta2.zip",
"reference": "8.x-2.0-beta2",
"shasum": "a8231c17020a7fab94444b0122741f9ccd60b5dc"
},
"require": {
"drupal/core": "^8 || ^9"
},
"require-dev": {
"drupal/colorbox": "*"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.0-beta2",
"datestamp": "1597166250",
"security-coverage": {
"status": "not-covered",
"message": "Beta releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Neslee Canil Pinto",
"homepage": "https://www.drupal.org/user/3580850"
},
{
"name": "Snater",
"homepage": "https://www.drupal.org/user/3513717"
},
{
"name": "quicksketch",
"homepage": "https://www.drupal.org/user/35821"
}
],
"description": "Assists in inserting files, images, or other media into the body field as well as other editor and text areas.",
"homepage": "https://www.drupal.org/project/insert",
"support": {
"source": "https://git.drupalcode.org/project/insert"
}
},
{
"name": "drupal/markdown",
"version": "1.3.0",

View file

@ -4,7 +4,6 @@ status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.large
- media.type.image
module:
- image
@ -17,7 +16,7 @@ content:
label: visually_hidden
weight: 0
settings:
image_style: large
image_style: ''
image_link: ''
third_party_settings: { }
type: image

View file

@ -25,6 +25,8 @@ module:
hook_event_dispatcher: 0
hreflang: 0
image: 0
insert: 0
insert_media: 0
layout_builder: 0
layout_discovery: 0
link: 0

6
config/insert.config.yml Normal file
View file

@ -0,0 +1,6 @@
text_formats: { }
css_classes:
file: ''
image: ''
_core:
default_config_hash: 15D6dRw1i0hm-4oGA1S1efHREHSxhSQYvdzQzVBn4c8