codex-team/editor.js

[Bug] Polyfill promise conflict

Open

#1,634 opened on Apr 8, 2021

 (0 comments) (0 reactions) (0 assignees)TypeScript (1,985 forks)batch import
buggood first issue

Repository metrics

Stars
 (26,602 stars)
PR merge metrics
 (No merged PRs in 30d)

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