Support exporting images inserted via entity_embed module

Created on 22 November 2023, over 1 year ago
Updated 4 December 2023, about 1 year ago

Problem/Motivation

I have some inline images uploaded directly in some CK Editor fields. And those images were not exported in the assets. So, accordingly the referenced images from CK editor are broken in the higher environment where I am trying to import the content .

EDIT: The image was inserted using contrib entity_embed module.

Steps to reproduce

1. Upload some image in your Body field (of any content type) in any node
2. Go to export page path of that particular node
3. Now, export it as either YML or export as zip. You will see that assets were not exported there.
4. Go to other higher enviornment where the content has to be imported and follow the import page link there.
5. Import your yml file there and node created as part of import will have image reference in body field which will ultimately be external link to source site.

Proposed resolution

I belief there are some of modules available in Drupal.org which can help import the referenced images as media . Let me search that.

โœจ Feature request
Status

Needs work

Version

1.4

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia shiks

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024