Skip to content

Conversation

@drbroad
Copy link
Contributor

@drbroad drbroad commented Feb 28, 2025

When using ACF Composer and the Editor palette - the selected swatch would get re-appended when you update any fields on the block that causes a re-render in the editor.

This fix just checks for existing swatches, and removes them before appending a new one.

@Log1x Log1x merged commit 6383f01 into Log1x:master Feb 28, 2025
1 check passed
@Log1x
Copy link
Owner

Log1x commented Feb 28, 2025

awesome! i just saw this for the first time today. thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants