WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

Quote block having issue when font-family is applied that is not applied to citation. #66794

Open NidhiDhandhukiya74 opened 1 week ago

NidhiDhandhukiya74 commented 1 week ago

Description

When we apply any font-family to quote block the pargaraph will take that font-family but citation.

Step-by-step reproduction instructions

  1. Take Quote block.
  2. Add some text.
  3. Use citation.
  4. Now change the font family of whole quote block.

You can able to see the difference in quote paragraph text but the citation text font-family may looks the same.

Screenshots, screen recording, code snippet

No response

Environment info

Please confirm that you have searched existing issues in the repo.

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

Please confirm which theme type you used for testing.

carolinan commented 1 week ago

Hi I am not able to reproduce this using 6.7 RC 4. I tried four different themes. There may be styling in your theme that is affecting the citation.

himanshupathak95 commented 1 week ago

Hi, Thanks for bringing this up.

I tested according to the instructions provided, and I was able to reproduce the same issue using WordPress 6.6.2 installation.

Here is the testing demo -

https://github.com/user-attachments/assets/31270fc6-8f42-42ad-b675-e2902d1fa61b

I would like to work on this.

carolinan commented 1 day ago

Please include the information about which themes you have tested.