Core nested modals issue fix (patch) changed the type of Drupal.ckeditor5.saveCallback variable

Created on 13 September 2024, 2 months ago

Problem/Motivation

This issue β†’ on Drupal core has a patch that changes the type of the JavaScript variable Drupal.ckeditor5.saveCallback from a function to a Map object. This requires changes on entity_embed code that uses it, otherwise the following error is shown:
An error occurred during the execution of the Ajax response: TypeError: Drupal.ckeditor5.saveCallback.has is not a function

Proposed resolution

This patch changes the how the Javascript code treats the Drupal.ckeditor5.saveCallback.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Needs review

Version

1.6

Component

CKEditor integration

Created by

πŸ‡§πŸ‡·Brazil renanmfd

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024