Merge branch 'v-2-30-6' into next

This commit is contained in:
Peter Savchenko 2024-11-11 23:30:09 +03:00
commit d9f301ffb9
3 changed files with 5 additions and 6 deletions

View file

@ -10,6 +10,10 @@
- `Improvement` - The current block reference will be updated in read-only mode when blocks are clicked
- `Fix` - codex-notifier and codex-tooltip moved from devDependencies to dependencies in package.json to solve type errors
### 2.30.7
- `Fix` - Link insertion in Safari fixed
### 2.30.6
- `Fix` Fix the display of Convert To near blocks that do not have the conversionConfig.export rule specified

View file

@ -1,6 +1,6 @@
{
"name": "@editorjs/editorjs",
"version": "2.31.0-rc.4",
"version": "2.31.0-rc.5",
"description": "Editor.js — open source block-style WYSIWYG editor with JSON output",
"main": "dist/editorjs.umd.js",
"module": "dist/editorjs.mjs",

View file

@ -400,11 +400,6 @@ export default class Dom {
* @returns {boolean}
*/
public static isEmpty(node: Node, ignoreChars?: string): boolean {
/**
* Normalize node to merge several text nodes to one to reduce tree walker iterations
*/
node.normalize();
const treeWalker = [ node ];
while (treeWalker.length > 0) {