Horizontal scrolling is created after uploading a big image

Created on 26 July 2024, 4 months ago
Updated 13 August 2024, 3 months ago

Problem/Motivation

Uploading an image wider than the width of the page in CKEditor5 makes it create a vertical scroll on the page.

Steps to reproduce

Select an image with a big resolution (the one I used is 10109x4542px). After it is added to the editor, the page creates a horizontal scroll. Resizing the image makes the horizontal scroll disappear.

I have been able to reproduce this in two different Drupal installations.

I attached some screenshots of the issue.

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇧🇷Brazil mauriciopieper

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

Comments & Activities

Production build 0.71.5 2024