Promise needs a featurefill import since IE 11 doesn't have native support.
See original GitHub issueDo you want to request a feature or report a bug?
bug
What is the current behavior?
$ git clone https://github.com/tinymce/tinymce
$ yarn
$ grunt
Running "shell:tsc" (shell) task
Running "tslint:files" (tslint) task
>> ERROR: src/core/main/ts/api/util/Promise.ts:132:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:140:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:171:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:177:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:183:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/themes/silver/demo/ts/components/DialogComponentsDemo.ts:298:21 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> 6 errors and 0 warnings in 1516 files
Warning: Task "tslint:files" failed. Use --force to continue.
Aborted due to warnings.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tinymce.com or similar.
What is the expected behavior?
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to support promises in Internet Explorer 11?
Use a JS transpiler (like babel) or don't use ES6 features. For Promise support you can use a library like bluebird. (BTW, note...
Read more >Promise not defined in IE 11 · Issue #436 - GitHub
I'm not using Promise myself, but its one of the packages i am importing. Mix should run on all those too right? npm...
Read more >Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode.
Read more >Internet Explorer 11 and Angular 2+ | by Maarten Merken | Agilix
To fix the missing 'includes' method, you need to put this line in your polyfill. ts file: import 'core-js/es7/array';
Read more >IE11 Dialog Promise Undefined - The Aurelia Discourse
UMD doesn't understand import statement, to support injecting dep to umd, the ProviderPlugin would need to inject dep to AMD, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Sorry. An update was pushed to our TSLint rules before the TinyMCE master branch was ready to be published (we’re about to make a major change that restructures our open source projects into a monorepo).
For now, if you downgrade
@ephox/tslint-rulesto version1.0.9the build will work again. We will consider reverting the rules package until next week if this becomes a major problem.This should now be fixed.