Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Store Customization > Add an identifier to header and footer patterns #10539

Closed
nefeline opened this issue Aug 11, 2023 · 0 comments · Fixed by #10541 or #10542
Closed

Store Customization > Add an identifier to header and footer patterns #10539

nefeline opened this issue Aug 11, 2023 · 0 comments · Fixed by #10541 or #10542
Assignees
Labels
type: enhancement The issue is a request for an enhancement.

Comments

@nefeline
Copy link
Member

nefeline commented Aug 11, 2023

As part of the Pattern Assembler project, the Guidorah team needs to enable a feature to select patterns already inserted in the editor and replace them with other patterns whenever users browse through all options on the sidebar.

But there's a limitation: the moment a pattern is inserted in the editor, there’s no relationship with the source anymore. As a consequence, we have to parse the post content, identify which part corresponds to the inserted pattern, and replace it (at least for now, with WordPress/gutenberg#48458; the strategy here may change).

To facilitate this task, we have to add common identifiers to all header and footer patterns.

Slack convo ref. p1691400488720879-slack-C053716F2H2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement The issue is a request for an enhancement.
Projects
None yet
1 participant