Skip to content

Commit

Permalink
fix(inline-link): link insertion in safari (#2864)
Browse files Browse the repository at this point in the history
* fix(inline-link): link insertion in safari

* Update CHANGELOG.md
  • Loading branch information
neSpecc authored Nov 11, 2024
1 parent 3aa164d commit 597bde3
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
@@ -1,5 +1,9 @@
# Changelog

### 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.30.6",
"version": "2.30.7",
"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 597bde3

Please sign in to comment.