Media not rendered in ckeditor

Created on 2 April 2025, 5 days ago

Problem/Motivation

When working with ckeditor media, the image previews are not rendered in ckeditor when working with image_sizes based styles.

The JS log says:
Found declarative shadowrootmode attribute on a template, but declarative Shadow DOM is not being parsed. Use setHTMLUnsafe() or parseHTMLUnsafe() instead. drupalMedia.js?su2z53:1

Steps to reproduce

- Create an image_sizes responsive image style.
- Use it in a media view mode on the image field formatter
- allow using this view mode in ckeditor media
- Select an image in ckeditor using this view mode

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany Hydra

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

Comments & Activities

Production build 0.71.5 2024