Skip to content

Commit 597bde3

Browse files
authored
fix(inline-link): link insertion in safari (#2864)
* fix(inline-link): link insertion in safari * Update CHANGELOG.md
1 parent 3aa164d commit 597bde3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 2.30.7
4+
5+
- `Fix` - Link insertion in Safari fixed
6+
37
### 2.30.6
48

59
`Fix` – Fix the display of ‘Convert To’ near blocks that do not have the ‘conversionConfig.export’ rule specified

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@editorjs/editorjs",
3-
"version": "2.30.6",
3+
"version": "2.30.7",
44
"description": "Editor.js — open source block-style WYSIWYG editor with JSON output",
55
"main": "dist/editorjs.umd.js",
66
"module": "dist/editorjs.mjs",

src/components/dom.ts

-5
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,6 @@ export default class Dom {
400400
* @returns {boolean}
401401
*/
402402
public static isEmpty(node: Node, ignoreChars?: string): boolean {
403-
/**
404-
* Normalize node to merge several text nodes to one to reduce tree walker iterations
405-
*/
406-
node.normalize();
407-
408403
const treeWalker = [ node ];
409404

410405
while (treeWalker.length > 0) {

0 commit comments

Comments
 (0)