Skip to content

[Bug]: Getting TrustedHTML error in a production buildย #630

@bizappzone

Description

@bizappzone

What happened?

We have a form component (reactive forms) and have included the editor to allow users to enter html. we have a basic config with bold, ul, ol . When the component is deployed to a production environment we are getting a trustedHTML error when trying to set the form field.
We are using domSanatizer to ensure the content is trusted but when it is passed to the editor we get the error.

Any thoughts on a ppropach or troubleshooting to not get thsi error?

Version

19.0.0-beta.1

Angular Version

19

What browsers are you seeing the problem on?

Chrome

Link to reproduce

No response

Relevant log output

Willing to submit a PR?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions