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 !

貢獻者指南