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

[Feature Request] Support for Class="" in Razor Components. #12

Closed
ApacheTech opened this issue Aug 18, 2023 · 1 comment
Closed

[Feature Request] Support for Class="" in Razor Components. #12

ApacheTech opened this issue Aug 18, 2023 · 1 comment

Comments

@ApacheTech
Copy link

ApacheTech commented Aug 18, 2023

Would it be possible to add support for Blazor components that use Class="" as a parameter?

You constrain it to lowercase class= only, here: https://github.com/theron-wang/VS2022-Editor-Support-for-Tailwind-CSS/blob/main/src/Completions/Controllers/RazorCompletionController.cs#L165

A .ToLowerInvariant() on line 163 should be ok to fix it.

@theron-wang
Copy link
Owner

I just included this in 1.1.7.6 along with the other bug fixes. Thanks for the suggestion!

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

2 participants