josdejong / josdejong/jsoneditor
Add support for Trusted Types
- Dominant language
- JavaScript
- Stars
- 12.3k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm using your great library on angular with the @maaxgr/ang-jsoneditor (14.0.0) wrapper & jsoneditor (10.1.0).
I recently started implementing [Trusted Types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/trusted-types) for security reasons and find myself unable to authorize in my CSP the jsoneditor due to a lack of trusted type usage.

As it is still experimental I would get it if you want to wait before implementing this, but the polyfill-like approach could be used to mitigate risk if they make breaking changes in the future.
Could you please add support for it ?
Thanks !
Contributor guide
Assessment
This issue has not been assessed yet.