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
Projects

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.

@cjyabraham cjyabraham added this to Triage in lfevents via automation Jan 15, 2021
@cjyabraham cjyabraham moved this from Triage to Later in lfevents Jan 15, 2021
@cjyabraham cjyabraham moved this from Later to Soon in lfevents Jan 15, 2021
@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

@cjyabraham cjyabraham moved this from Soon to Later in lfevents Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Later
lfevents
  
Later
Development

No branches or pull requests

2 participants