IE11: Image Block broken
Issue Overview
Image Block dependency (re-resizable) uses JS functions not available in IE11 causing the block not to render
Steps to Reproduce (for bugs)
- Open Post with Image block in IE 11
This block has encountered an error and cannot be previewed.
Expected Behavior
Image block works as in other browers
Current Behavior
Errors
Possible Solution
Screenshots / Video

Related Issues and/or PRs
https://github.com/WordPress/gutenberg/pull/746
Todos
- [ ] Tests
- [ ] Documentation
https://lodash.com/docs/4.17.4#endsWith
@aduth not as easy as it seems since the issue is in third-party code. We could PR there or provide a polyfill.
Oh, I missed that. We could also include it in the transpilation step (Edit: This won't work because it needs the polyfill), but I would expect the dependency should already be shipping a transpiled variant.
See: https://github.com/bokuweb/re-resizable/pull/160