[META] Support WYSIWYG embedding of media entities

Created on 16 September 2016, about 8 years ago
Updated 5 February 2024, 9 months ago

Problem/Motivation

Core currently provides support for embedding of images. It is currently impossible to embed a video or a document. Also, when #2801277: [META] Support remote media assets as first-class citizens by adding Media Entity module in core lands we'll need to embed media entities rather than files.

Contrib already has a solution for this. Entity embed is a module that supports embedding of any renderable entity and supports extensive display configuration.

Proposed resolution

Move parts of Entity embed into core (simplified text filter) and handle embedding through it. Entity embed display plugins, embed button config entities, and other related API surface will stay in contrib. The simplified text filter will only support embedding media entities; people wishing to embed other types of entities will need to use contrib. Existing WYSIWYG functionality would remain the same.

Remaining tasks

In order:

  1. SHOULD-HAVE: 🐛 [regression] Restore styling for embedded media edit button in Seven theme Postponed: needs info
  2. SHOULD-HAVE: 📌 Constrain the width of aligned images, media, blockquotes etc to a max of 75% Needs work
  3. SHOULD-HAVE #3073901: Determine an upgrade path from CKEditor image button to media library

Additional required bug fixes:

Additional related and follow-up issues

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Feature request
Status

Closed: outdated

Version

9.2

Component
Editor 

Last updated 17 days ago

Created by

🇸🇮Slovenia slashrsm

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