Deprecate EditorLinkDialog, EditorImageDialog and EditorMediaDialog in Drupal 10.1 for removal in Drupal 11

Created on 3 September 2021, over 3 years ago
Updated 27 February 2023, almost 2 years ago

Problem/Motivation

CKEditor 5 will not use the editor.module-andmedia.module provided link, image and media dialog forms:

  1. \Drupal\editor\Form\EditorLinkDialog
  2. \Drupal\editor\Form\EditorImageDialog
  3. \Drupal\media\Form\EditorMediaDialog

There are no longer Drupal-owned dialog forms to add/edit links or images. We did that for the CKEditor 4 integration because it was going to be a dialog in CKEditor anyway. In CKEditor 5, the UX is simpler (not a dialog).

This does mean that certain contributed modules will need to be rearchitected, since all they do with CKEditor 4 is alter one of these forms:

Proposed resolution

Since Drupal 10 will ship without CKEditor 4, and we do not know of any contributed modules that provide alternative text editor plugins that use these, it is probably worth deprecating these in Drupal 9 for removal in Drupal 10.

Remaining tasks

TBD

User interface changes

None.

API changes

Deprecate:

  1. \Drupal\editor\Form\EditorLinkDialog
  2. \Drupal\editor\Form\EditorImageDialog
  3. \Drupal\media\Form\EditorMediaDialog

Data model changes

None.

Release notes snippet

TBD

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
EditorΒ  β†’

Last updated 5 days ago

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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