codex-team / codex-team/editor.js
Render function not clearing existing blocks.
Open
bug
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
When using the render function, it doesn't seem to clear old data but creates duplicate blocks.
https://editorjs.io/blocks/#render states: `Method removes all Blocks and fills with new passed JSON data`
Steps to reproduce:
call the render function twice closely after each other
Expected behavior:
only show default block once.
Screenshots:

Editor.js version: latest
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.