Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294951

EditorDialogSave Command missing selector

$
0
0

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.


Viewing all articles
Browse latest Browse all 294951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>