Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a component to directly embed html #156

Closed
1 of 2 tasks
wwwillchen opened this issue Apr 25, 2024 · 0 comments · Fixed by #544
Closed
1 of 2 tasks

Add a component to directly embed html #156

wwwillchen opened this issue Apr 25, 2024 · 0 comments · Fixed by #544
Assignees

Comments

@wwwillchen
Copy link
Collaborator

wwwillchen commented Apr 25, 2024

There's two parts:

  • Embedding sanitized HTML (strips out JS)
  • Embedding unsanitized HTML (includes JS) in a sandbox (iframe)

The complexity with unsanitized HTML is that Trusted Types blocks it, which means we need to either use Angular's Trusted Type policy or introduce our own Trusted Type policy. The issue is how this will work downstream (we may need to use the downstream Trusted Type policy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant