humanmade / humanmade/react-oembed-container
Allow consumer to whitelist injected scripts
Open
- Dominant language
- JavaScript
- Stars
- 44
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
A logical extension of this would be to provide a `whitelist` function on the component which accepts a function which could be used to filter the list of scripts before they get injected. A consumer of the component may want to restrict the scripts which can be handled to only be a subset of the available possibilities.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.