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

Calendar block text color and background color is not change immediately when we try to change it from block settings. #64739

Closed
2 tasks done
viralsampat90 opened this issue Aug 23, 2024 · 2 comments · May be fixed by #64986
Closed
2 tasks done
Labels
[Block] Calendar Affects the Calendar Block [Type] Bug An existing feature does not function as intended

Comments

@viralsampat90
Copy link

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

calendar-block-text-color-issue.mp4

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.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes
@viralsampat90 viralsampat90 added the [Type] Bug An existing feature does not function as intended label Aug 23, 2024
@t-hamano t-hamano added the [Block] Calendar Affects the Calendar Block label Aug 23, 2024
@rutviksavsani
Copy link

Hi @t-hamano

Here is a PR for the fix. Let me know if this looks good to you.
PR: #64986
Thanks!

@t-hamano
Copy link
Contributor

I have abstracted this problem and submitted it as #69220. Therefore, let's close this issue.

@t-hamano t-hamano closed this as not planned Won't fix, can't repro, duplicate, stale Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Calendar Affects the Calendar Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants