ianstormtaylor / slate

A completely customizable framework for building rich text editors. (Currently in beta.)
http://slatejs.org
MIT License
29.71k stars 3.24k forks source link

slatejs.org does not work in IE 11 #1186

Closed echenley closed 6 years ago

echenley commented 7 years ago

Do you want to request a feature or report a bug?

Bug.

What's the current behavior?

Via browserstack:

screen shot 2017-09-27 at 11 31 21 am

None of the examples seem to work, and errors are thrown when switching between them.

kvolkovich-sc commented 7 years ago

In our project based on slate we added array es7 polyfill for Array.prototype.includes

https://github.com/OpusCapita/react-markdown/blob/3396bd9653e8c4c86484681cc8a13868422354b1/config/doc/webpack.config.js#L16

Maybe it related to this issue.

ianstormtaylor commented 6 years ago

Hey @echenley thanks for reporting this. I'm going to close this one because it doesn't have enough information for us to fix the issue. But please do open another issue with the breaking cause and we can hopefully fix it. Like @kvolkovich-sc mentions, polyfills are needed for IE11.