fix(inline-link): link insertion in safari (#2864)

* fix(inline-link): link insertion in safari

* Update CHANGELOG.md
This commit is contained in:
Peter 2024-11-11 22:44:19 +03:00 committed by GitHub
commit 597bde3bca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 6 deletions

View file

@ -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

View file

@ -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",

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) {