Calendar block text color and background color is not change immediately when we try to change it from block settings.
Description
Hello Team,
I have reviewed "Calendar Block" and found that its text color & background color is not change when we trying to change it from the block setting on the admin editor side.
In front-end it changed based on requirement, But in admin editor side we must refresh the page to see the changes.
I think that it should be change immediatly when we try to change it from block settings.
Thanks,
Step-by-step reproduction instructions
- Add calendar block
- Try to change text color from block settings.
- Try to change background color from block settings.
- Save the changes and publish the page.
- View the editor side & front-end side.
Screenshots, screen recording, code snippet
https://github.com/user-attachments/assets/a8eef5cd-4404-42a0-8d85-252e91830170
Environment info
- WordPress version: WordPress 6.6.1 running,
- Themes: Twenty Twenty-four Version: 1.2
- Browser: Google Chrome, Version 127.0.6533.120 (Official Build) (arm64)
- Device:** MacBook Air M1
- OS: macOS 14.6.1 (23G93)
- Gutenberg plugin: Version Version 19.0.0
Please confirm that you have searched existing issues in the repo.
- [X] Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- [X] Yes
Hi @t-hamano
Here is a PR for the fix. Let me know if this looks good to you. PR: https://github.com/WordPress/gutenberg/pull/64986 Thanks!
I have abstracted this problem and submitted it as #69220. Therefore, let's close this issue.