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

[Bug] Selectors like [class*="wp-block"] are displayed incorrectly in symbols list #38

Open
elosha opened this issue Jul 8, 2022 · 0 comments

Comments

@elosha
Copy link

elosha commented Jul 8, 2022

Selectors starting with square brackets like [class*="wp-block"] { … } are common in Gutenberg-enabled Wordpress theme CSS files. (They match any CSS classes starting with "wp-block…" without having to know class names added later.)

However they have a confusing display in the symbols list:
Bildschirmfoto 2022-07-08 um 12 17 51 Kopie
Note:
Classical selector (green) works flawlessly and its idention is consistent with code.
Square brackets selector (red) kinda works, but first bracket and indention are stripped, which is confusing when one needs to rely on indention structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant