codex-team / codex-team/editor.js

addRange(): The given range isn't in document.

Open
#2,282 5 comments 2 reactions 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.

Steps to reproduce:
```
const editor = new EditorJS({
holder: "editor",
onReady: () => {
editor.blocks.renderFromHTML("

Hello there xD

")
},
autofocus: true
})
```

Expected behavior:
It shows the rendered TEXT fine, so not sure, it just shows this error.

Device, Browser, OS:
Brave@latest

Editor.js version:
2.26.5

Plugins you use with their versions:
none

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.