Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Exclude classes #63

Open
mdmoreau opened this issue Dec 21, 2020 · 1 comment
Open

Exclude classes #63

mdmoreau opened this issue Dec 21, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mdmoreau
Copy link

While using this plugin with Twig I'm noticing that tags are added as suggestions if used within a class attribute. Is it possible to exclude things like {{ }} {% %} from the suggestions?

Example:

<div class="test {{ var }}"></div>

Suggests:
{{ and }}

Might even be useful to filter based on the allowed characters for the class attribute (https://stackoverflow.com/a/449000). Thanks for the great extension!

@gencer gencer self-assigned this Dec 23, 2020
@gencer gencer added the enhancement New feature or request label Dec 23, 2020
@gencer
Copy link
Owner

gencer commented Dec 23, 2020

I'll test this issue and provide a solution as soon as possible.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants