froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

With froala editor ng-embed showing error (Important) #118

Closed ghost closed 7 years ago

ghost commented 8 years ago

Hi,

I'm using froala editor to insert some wisywig functionality to my post. i'm also using ng-embed on it. like this.

then it's showing this error :disappointed:

Error: [$sce:itype] Attempted to trust a non-string value in a content requiring a string: Context: html error link

I checked angular-froala source code. and there is something which need to modify in order to that. i could be wrong. but this is the problem with angular-froala somewhere.

this is the lib filter i'm using ng-embed link

What i should do now ?

stefanneculai commented 7 years ago

@Rahul-Giri the content of the editor should be a HTML string, it cannot be dynamic.