ezyang / ezyang/htmlpurifier

How to add global attribute for all elements?

Open
#392 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.4k
Forks
361
Avg merge
3d 41m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the project documentation and the addAttribute method mentioned in the issue, then determine whether the requested accesskey behavior is documented or requires a project change. The scope is complete only when the supported way to apply the attribute globally is clearly established and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.