drupal-media tag is rendered in Wysywyg editor for Media Library image

Created on 11 May 2023, over 1 year ago

Problem/Motivation

There was settings for width and height available in D7, but it's gone since D8.
There is good reason why it's gone, but at least it would be great if user still can change width and height attributes via Source View.

Currently when import Image using Media Library, it renders drupal-media tag, thus no way to set width and height attributes for img tag.

Steps to reproduce

1. Add Media Library icon for CKEditor.
2. Insert any image using Media Library button.
3. Try to check source code

Proposed resolution

If it 's image, simply place img tag, and then use same workflow with Image File.
For this resolution, need core updated, too.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada Austin986

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024