mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 07:35:48 +01:00
* fix(blocks):Error occurred when calling renderFromHTML: Can't find a Block to remove. * fix: resolve "Can't find a Block to remove" error in renderFromHTML - Make renderFromHTML async and await BlockManager.clear() to prevent race condition - Change removeBlock order: remove from array before destroy to prevent index invalidation - Fix clear() method to copy blocks array before iteration to avoid modification during loop Fixes issue where renderFromHTML would fail with "Can't find a Block to remove" error due to concurrent block removal operations and array modification during iteration. Resolves #2518 |
||
|---|---|---|
| .. | ||
| components | ||
| styles | ||
| tools/stub | ||
| types-internal | ||
| codex.ts | ||
| env.d.ts | ||