codex-team/editor.js

[Bug] Polyfill promise conflict

Open

#1,634 opened on Apr 8, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (26,602 stars) (1,985 forks)batch import
buggood first issue

Description

This package seems to polyfill window.Promise, regardless of whether window.Promise already exists. This is causing problems as we are using and relying on our own polyfill (bluebird.js), but this is being replaced if I call new EditorJS().

Contributor guide