Skip to content

Conversation

@badasswp
Copy link
Owner

This PR resolves this issue.

Description / Background Context

At the moment, when the user imports an article containing image blocks, we do not see the images imported correctly because the url attribute is stripped out by WP core during export. This PR fixes this issue by ensuring that we are extracting that from the content and appending same to the block attributes.


Testing Instructions

  1. Pull PR to local.
  2. Build correctly by running rm -rf node_modules && yarn start.
  3. Observe that image block import works correctly for same site use.
  4. Observe that there are no regressions introduced as a result of this change.

@badasswp badasswp self-assigned this Dec 14, 2025
@badasswp badasswp added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request chore Task to be done test Unit/Integration tests labels Dec 14, 2025
@badasswp badasswp linked an issue Dec 14, 2025 that may be closed by this pull request
@badasswp badasswp merged commit 4337ef1 into release-1.2.0 Dec 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore Task to be done documentation Improvements or additions to documentation enhancement New feature or request test Unit/Integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Image on Block Import

2 participants