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

Have editor dynamically pick up new event colors for gradient styles #628

Open
cjyabraham opened this issue Jan 15, 2021 · 2 comments
Open
Assignees
Labels

Comments

@cjyabraham
Copy link
Collaborator

Currently when editing an event you can set a Group to Event Gradient background style and it will pick up the event colors that are already set. If, however, you change an event color, you need to refresh the editor in order for it to refresh all groups and other blocks who use those colors (since the event colors are inserted as inline styles). See if you can make it dynamic so it doesn't require a refresh of the editor window.

@thetwopct
Copy link
Collaborator

Was going to mention, WP 5.6 introduced custom gradients on the cover block (which is why we started using the custom Style originally). Might be possible to add the event colours in to the gradient colour presets. Will take a look.

@thetwopct
Copy link
Collaborator

Blocked by WordPress/gutenberg#28254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Later
Development

No branches or pull requests

2 participants