EditorDialogSave Command missing selector

Created on 23 November 2023, about 1 year ago

Problem/Motivation

We were trying to embed content into ckedtor. Didn't work, the drupal-entity tag was not added to editor content.

When core/modules/editor/src/Ajax/EditorDialogSave.php renders, the attribute 'selector' is missing in the data returned to the client.

In drupal/html/core/modules/ckeditor5/js/ckeditor5.js, the 'editor:dialogsave' handler responsible for adding the embedded content requires attribute 'selector' to be set.

Proposed resolution

The attached patch solved our problem.

πŸ› Bug report
Status

Active

Version

10.1 ✨

Component
AjaxΒ  β†’

Last updated 1 day ago

Created by

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

Comments & Activities

Production build 0.71.5 2024