[upstream] CKEditor 5 breaks website CLS (no image width and height attributes)

Created on 14 November 2022, over 1 year ago
Updated 7 November 2023, 8 months ago

Problem/Motivation

We have enabled CKEditor 5 on some of our websites and the CLS score of the websites dropped drastically.

Upon inspecting, CKEditor 4 set fixed width and height attributes of the images, reducing the content layout shift drastically.

Looking at CKE5, it seems most images don't get dimensions set at all, while some only get width set.

Proposed resolution

Make CKE5 also generate width and height HTML tags: https://github.com/ckeditor/ckeditor5/issues/5154.

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
CKEditor 5 

Last updated about 13 hours ago

Created by

🇸🇮Slovenia KlemenDEV

Live updates comments and jobs are added and updated live.
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.69.0 2024