Optimizations for icons used on dialogform

Created on 15 July 2024, 4 months ago

Problem/Motivation

The image style used on the ckeditor5 dialog form is hard coded to thumbnail. This isn't ideal as some sites may have this style overridden or may wish to use another style.

Also the image alternative isn't using any image style.

Steps to reproduce

Create a template and upload a preview image in the Illustrative Image/Icon field, then inspect the markup of the icon in the dialog form, it's always using the thumbnail image style url.

Proposed resolution

Expose the image style in config. Regarding the alternative images, they should probably be downloaded first before using them in the dialog, that way an image style can be applied consistently, which isn't possible now.

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024