EditorFileReference should compute a px <img height> if a % <img width> is specified, even though % <img width> is not allowed in HTML5

Created on 25 January 2023, almost 2 years ago
Updated 16 January 2024, 10 months ago

Problem/Motivation

When image is resized in CKEditor 4, both height and width attributes are added. The attributes persist if the text format is upgraded to use CKEditor 5. Now if user resizes the image, the width attribute is converted to use percentages. In this process, the height is left untouched which may lead into the image rendering with incorrect proportions in some browsers.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Filter 

Last updated 3 days ago

No maintainer
Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024