Froala editor used on img tag in combination with angular2-froal-wysiwyg is throwing the following error:
TypeError: c.replace is not a function
at Object.p [as html] (froala_editor.min.js:8)
at b.z (froala_editor.min.js:8)
at HTMLImageElement.<anonymous> (froala_editor.min.js:7)
at Function.each (jquery.js:365)
at jQuery.fn.init.each (jquery.js:137)
at jQuery.fn.init.a.fn.froalaEditor (froala_editor.min.js:7)
at HTMLImageElement.<anonymous> (froala.directives.ts:115)
at HTMLImageElement.dispatch (jquery.js:4737)
at HTMLImageElement.elemData.handle (jquery.js:4549)
at Object.trigger (jquery.js:7807)
I guess there is a build incompatibility of wysiwyg-froala:2.4.0 with angular2-froala-wysiwyg: 2.3.4-rc.1. I guess this is likely related to froala editor core, thus I repost it here.
Original question in angular2-froala-wysiwyg editor: https://github.com/froala/angular2-froala-wysiwyg/issues/24
using through npm "froala-editor": "^2.4.0", "angular2-froala-wyswiyg": "^2.3.4-rc.1" which both are latest.
ios chrome latest
Thanks for reporting this. I am going to close this here since it is a duplicate with the one from the Angular repo.
@stefanneculai Is this problem related to froala core editor or to angular2 directives?
This is happening to me..
Happening to me too.
@ferdaousharmel please upgrade to the latest version 2.7.1. Thank you.
Most helpful comment
This is happening to me..