codex-team / codex-team/editor.js

[Bug] EditorJS does not have a default export per rollup

Open
#1,558 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Describe a bug.

[!] Error: 'default' is not exported by node_modules/@editorjs/editorjs/dist/editor.js, imported by out-tsc/src/BlogBuild.js

Steps to reproduce:
Import EditorJS as '@editojs/editorjs'

Editor.js version: 2.19.1

Plugins you use with their versions: none

Edit: When I added 'export default EditorJS' as a line at the end of @editorjs/editorjs/dist/editor.js, it started working, so I believe that is the issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.