Skip to content

Commit

Permalink
Merge branch 'next' of https://github.com/codex-team/editor.js into f…
Browse files Browse the repository at this point in the history
…ix/whitespace-input-placeholder
  • Loading branch information
idebenone committed Nov 18, 2024
2 parents c50870c + d9f301f commit c2ab46f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
- `Fix` - codex-notifier and codex-tooltip moved from devDependencies to dependencies in package.json to solve type errors
- `Fix` - Handle whitespace input in empty placeholder elements to prevent caret from moving unexpectedly to the end of the placeholder

### 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
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 c2ab46f

Please sign in to comment.