Skip to content

Commit

Permalink
Merge branch 'v-2-30-6' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
neSpecc committed Nov 11, 2024
2 parents 58a7a9e + 597bde3 commit d9f301f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 0 additions & 5 deletions src/components/dom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d9f301f

Please sign in to comment.