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

Markup inside of Paragraph/Heading blocks gets opacity applied when Conditional Opacity is enabled. #54

Closed
ndiego opened this issue Dec 9, 2022 · 0 comments
Labels
Bug Something isn't working, looks like a 🐛.
Milestone

Comments

@ndiego
Copy link
Owner

ndiego commented Dec 9, 2022

Description

The Conditional Opacity setting allows you to optionally make blocks transparent when visibility conditions are applied. Due to how blocks in the Editor are structured, this functionality does not work for Paragraph and Heading blocks.

However, if markup exists within a Paragraph or Heading block, for example, <mark>, the opacity will get applied to that element. Paragraph and Heading blocks should be excluded entirely from the Conditional Opacity styles to avoid this issue.

Expected behavior

image

Actual behavior

image

System information

  • Block Visibility 2.5.0
@ndiego ndiego added the Bug Something isn't working, looks like a 🐛. label Dec 9, 2022
@ndiego ndiego added this to the Version 2.6.0 milestone Dec 9, 2022
@ndiego ndiego closed this as completed in 58977e1 Dec 11, 2022
@ndiego ndiego modified the milestones: Version 2.6.0, Version 2.5.1 Dec 28, 2022
@ndiego ndiego mentioned this issue Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working, looks like a 🐛.
Projects
None yet
Development

No branches or pull requests

1 participant