filamentgroup/directory-encoder

Attribute selectors

duyenho opened this issue · 2 comments

Hello,

Is there a way to add attribute selectors to the custom selectors object, eg a[target="_blank"]::after. I've tried backslashing the quotes, single quotes and string concatenation. The css output contains unicode which doesn't read with grunticon.

Hmm, any of these should work?

customselectors: { "foo": ["a[target=\"_blank\"]::after"]}, 
customselectors: { "foo": ['a[target="_blank"]::after']},
customselectors: { "foo": [`a[target="_blank"]::after`]}, // if your node is new enough

This is an automated message to let you know that a helpful response was posted to your issue and for the health of the repository issue tracker the issue will be closed. This is to help alleviate issues hanging open waiting for a response from the original poster.

If the response works to solve your problem—great! But if you’re still having problems, do not let the issue’s closing deter you if you have additional questions! Post another comment and I will reopen the issue. Thanks!