You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
Sound like post.body contains html nodes, it's not a string/text. angular-sanitize used by ng-embed is expecting a string. If you convert post.body to a string it will probably work. Take a look here. You should also turn of the htmlSanitize option in ng-embed as well so html tags don't get stripped away. <span froala-view="postBodyAsString | embed:{htmlSanitize:false}"></span>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm using froala editor to insert some wisywig functionality to my post. i'm also using ng-embed on it. like this.
<span froala-view="post.body | embed"></span>
then it's showing this error 😞
Error: [$sce:itype] Attempted to trust a non-string value in a content requiring a string: Context: html
error link
froala editor angular version im using
What i should do now ?
The text was updated successfully, but these errors were encountered: