mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 22:55:47 +01:00
Merge branch 'v-2-30-6' into next
This commit is contained in:
commit
d9f301ffb9
3 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue