Entity preview in editor no longer works after drupal/embed 1.5 update

Created on 27 May 2022, about 2 years ago
Updated 27 January 2023, over 1 year ago

Problem/Motivation

After upgrading to drupal embed 1.5 the previews no longer display in the editor. A 403 response is returned from `/embed/preview`.

Steps to reproduce

Upgrade to drupal/embed ^1.5

Proposed resolution

Add csrf token to the get request to prevent the 403 error.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom chrisrhymes

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.69.0 2024