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

RangeError: Maximum call stack size exceeded #136

Closed gsahni closed 7 years ago

gsahni commented 7 years ago

element.bind('$destroy', function () { element.off(ctrl.listeningEvents.join(" ")); element.froalaEditor('destroy') // this line element = null; });

This is the code snippet taken from angular-froala.js file. The above mentioned line is throwing the RangeError: Maximum call stack size exceeded at String.replace () error for me. I am froala editor in semantic ui modal. On closing the modal it throughs that error.