Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the pattern block to pull from original source until it's modified #36148

Open
jffng opened this issue Nov 2, 2021 · 1 comment
Open
Labels
[Block] Pattern Affects the Patterns Block [Type] Enhancement A suggestion for improvement.

Comments

@jffng
Copy link
Contributor

jffng commented Nov 2, 2021

What problem does this address?

The pattern block works by replacing the block's contents with the contents of the pattern on initial load. The pattern will stop being used when the template or template part where it's used is modified.

See #36090 (comment) for more context.

What is your proposed solution?

Explore a way to preserve the pattern unless the pattern's contents are modified. This was how the block initially worked, but it required an undesirable wrapping element.

@MaggieCabrera
Copy link
Contributor

Part of #39281 is relevant to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Pattern Affects the Patterns Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants