Closed rjsmith closed 9 years ago
The ie8 file should be included only if the browser is lower than IE9 and that should be done in HTML. See https://editor.froala.com/docs, there is a conditional comment for including the IE8 JS file.
Hi,
The Meteor package infrastructure does not allow or support polyfills in this way .. all the included js files in a lib folder are automatically added to the generated
section of the rendered web page.I guess that is why the v1.2.4 version of froala-editor_ie8.min.js wrapped the minified code in a function and a browser detection routine.
Indeed, @uzumaxy created the package initially and I was not aware of that. The IE8 conditions from version 1.2.4 JS should be restored.
In v1.2.5 of this package, the code in the froala-editor_ie8.min.js is being used and overriding the non-IE8 code in froala-editor.min.js
Steps to reproduce:
This indicates that code in froala-editor_ie8.min.js is being executed.
Looking at the commit history of froala-editor_ie8.min.js in this repo, it looks like the code to detect IE8 has been removed in v1.2.5, which means the IE8 patches are being applied to all browsers.