Open designsimply opened 6 years ago
This is a tough one...
My gut says that this isn't something we can fix. It's similar to how moving the database from one WordPress installation to another won't copy media over.
Thoughts, @youknowriad?
@noisysocks I think we should try to embed metadata about referenced items (media, reusable blocks...) in the exported file and try to import them and map them to their new values when importing. This is not an easy task but we should try to do it. (Elementor import/export for instance do something similar).
Heya @noisysocks Robert and @youknowriad Riad. I am taking a trip down memory line through reusable blocks issues. Any thoughts on this issue at this current time? I assume we need to wait a while longer before approaching this again.
I wonder with the introduction of patterns what is the use of this feature? cc @shaunandrews
Looping back to this again after another 2 years....
Testing this with Synced Patterns - an image within the pattern references the absolute URL of the original image... So if the original site is still serving the image - it appears to be hot-linked...
Whilst it might be nice to have an option/action to import the image into the media library - it does at least display the image in the pattern in the imported site. Any thoughts @annezazu
Whilst it might be nice to have an option/action to import the image into the media library - it does at least display the image in the pattern in the imported site. Any thoughts
I'd love to see an option to import the image, similar to what we have right now if you copy and paste content with an image from a google doc (there's an option in the block toolbar to import!).
Steps to reproduce:
Result: the images are not actually imported and therefore cannot be modified via the imported reusable block. The following set of errors appears in the console for each image when the block loads:
Seen at http://madefortesting.com/wp-admin/post.php?post=616&action=edit running WordPress 4.9.8 and Gutenberg 3.9.0-rc.2 using Chrome 69.0.3497.92 on macOS 10.13.6.
Note: I used a gallery block in this test, but the problem applies to other blocks with images such as Cover Image.
What should happen for images inside reusable blocks? Should they be imported too? This seems complex. 🙂