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

Created on 14 November 2022, about 2 years ago
Updated 7 November 2023, about 1 year 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 2 days 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.71.5 2024