Patterns: Remove id
s from the copied pattern code
#698
Labels
[Component] Pattern Directory
The backend of the pattern directory: submission, management, etc
[Component] Theme
The frontend of the pattern directory, pattern lists UI
See WordPress/gutenberg#60323 — Patterns created outside of the pattern creator have "local" images, with
id
values matching that other site. When they're used in the pattern directory and then copied, the ID attribute tells the editor that it's not an external image, so you don't get the "upload image" button, even though it's not an image on the destination site.Can the
id
attribute be filtered out on copy so that this doesn't happen?Related: #494
The text was updated successfully, but these errors were encountered: