ezyang / htmlpurifier

Standards compliant HTML filter written in PHP
http://htmlpurifier.org
GNU Lesser General Public License v2.1
3.02k stars 323 forks source link

How to add global attribute for all elements? #392

Open lenhatthanh20 opened 7 months ago

lenhatthanh20 commented 7 months ago

Dear team,

Following the document, I want to add the accesskey for example as a global attribute for all elements: accesskey

How can I do that? Because I don't want to using addAttribute method for each element.

Thank you so much for your help.