josdejong/jsoneditor

Add support for Trusted Types

Open

#1,621 创建于 2024年10月23日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (10,781 star) (2,034 fork)batch import
featurehelp wanted

描述

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 for security reasons and find myself unable to authorize in my CSP the jsoneditor due to a lack of trusted type usage.

image

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 !

贡献者指南