-
Notifications
You must be signed in to change notification settings - Fork 41
How to allow html5 data attribute for tags #29
Comments
Hello @drnkwati ! 1/ For now, this is not easily possible but this is a good idea and would be worth having a look at :) . If you have time and will, don't hesitate to try, otherwise I'll have a look :) . 2/ Not really either, but this could be quite dangerous. Would allowing only data tags globally work for you? I would be okay do this. |
For Q2. I don't think it will be dangerous to allow option for setting global attributes. We could do something like this: Is just shorter and reduces the amount of code to write if we need just a few configs |
Hello @drnkwati ! If you have time to create a PR allowing all data-* attributes, I would be happy giving you a hand :) ! |
Hello @tgalopin, regarding the idea of globally allowed attributes (which would be very convenient for common attributes such as |
Hay guys
I have two questions
I know we can specifically set them one by one but i need a way to allows for all attributes beginning with data-* (maybe a regex way of doing it exists).
thanks
The text was updated successfully, but these errors were encountered: