add changelog

This commit is contained in:
Peter Savchenko 2024-03-09 18:54:50 +03:00
parent f9dfae9759
commit df12ae1699
No known key found for this signature in database
GPG key ID: E68306B1AB0F727C
3 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,9 @@
### 2.30.0
- `Fix``onChange` will be called when removing the entire text within a descendant element of a block.
- `Fix` - Unexpected new line on Enter press with selected block without caret
- `Fix` - Search input autofocus loosing after Block Tunes opening
- `Fix` - Block removing while Enter press on Block Tunes
### 2.29.1

View file

@ -1,6 +1,6 @@
{
"name": "@editorjs/editorjs",
"version": "2.30.0-rc.0",
"version": "2.30.0-rc.1",
"description": "Editor.js — Native JS, based on API and Open Source",
"main": "dist/editorjs.umd.js",
"module": "dist/editorjs.mjs",

View file

@ -244,7 +244,8 @@ Cypress.Commands.add('keydown', {
}, (subject, keyCode: number) => {
/**
* We use the "reason instanceof KeyboardEvent" statement in blockSelection.ts
* but by default cypress' KeyboardEvent is not an instance of the native KeyboardEvent
* but by default cypress' KeyboardEvent is not an instance of the native KeyboardEvent,
* so real-world and Cypress behaviour were different.
*
* To make it work we need to trigger Cypres event with "eventConstructor: 'KeyboardEvent'",
*