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

Update froala-sanitize.js to mirror up to date ng-sanitize version #122

Closed ghost closed 5 years ago

ghost commented 8 years ago

Hello, we are using this amazing editor. We are using also froala-sanitize.js which we have noticed is based on 1.3.0 angular. It would be great to keep up to date with the latest angular-sanitize version. We have noticed there are some parts of code different - for example linky filter in 1.5.8 angular has more arguments than it had in 1.3.0 and some more functionality changes. (www. links suport, ...)

Thanks in advance

stefanneculai commented 7 years ago

@TheNightmareDev could you please make a PR? Thank you.

stefanneculai commented 7 years ago

@cgallarno all that should be done for this is to copy https://github.com/angular/angular.js/blob/master/src/ngSanitize/sanitize.js to froala-sanitize.js?