|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +### 2.30.1 |
| 4 | + |
| 5 | +- `Fix` – Remove fake selection after multiple "convert to" inline tool toggles |
| 6 | + |
3 | 7 | ### 2.30.0 |
4 | 8 |
|
5 | 9 | - `New` – Block Tunes now supports nesting items |
6 | 10 | - `New` – Block Tunes now supports separator items |
| 11 | +- `New` – *Menu Config* – New item type – HTML |
| 12 | +– `New` – *Menu Config* – Default and HTML items now support hints |
| 13 | +- `New` – Inline Toolbar has new look 💅 |
| 14 | +- `New` – Inline Tool's `render()` now supports [Menu Config](https://editorjs.io/menu-config/) format |
| 15 | +- `New` – *ToolsAPI* – All installed block tools now accessible via ToolsAPI `getBlockTools()` method |
| 16 | +- `New` – *SelectionAPI* – Exposed methods `save()` and `restore()` that allow to save selection to be able to temporally move focus away, methods `setFakeBackground()` and `removeFakeBackground()` that allow to immitate selection while focus moved away |
| 17 | +- `New` – *BlocksAPI* – Exposed `getBlockByElement()` method that helps find block by any child html element |
7 | 18 | - `New` – "Convert to" control is now also available in Block Tunes |
| 19 | +- `New` — Editor.js now supports contenteditable placeholders out of the box. Just add `data-placeholder` or `data-placeholder-active` attribute to make it work. The first one will work like native placeholder while the second one will show placeholder only when block is current. |
| 20 | +- `Improvement` — Now Paragraph placeholder will be shown for the current paragraph, not only the first one. |
| 21 | +- `Improvment` - The API `blocks.update` now accepts `tunes` data as optional third argument and makes `data` - block data as optional. |
8 | 22 | - `Improvement` — The ability to merge blocks of different types (if both tools provide the conversionConfig) |
| 23 | +- `Improvement` - The API `blocks.convert()` now returns the new block API |
| 24 | +- `Improvement` - The API `caret.setToBlock()` now can accept either BlockAPI or block index or block id |
| 25 | +- `Impovement` – *MenuConfig* – `TunesMenuConfig` type is deprecated, use the `MenuConfig` instead |
| 26 | +– `Improvement` — *Types* — `BlockToolConstructorOptions` type improved, `block` and `config` are not optional anymore |
| 27 | +- `Improvement` - The Plus button and Block Tunes toggler are now better aligned with large line-height blocks, such as Headings |
| 28 | +- `Improvement` — Creating links on Android devices: now the mobile keyboard will have an "Enter" key for accepting the inserted link. |
| 29 | +- `Improvement` — Placeholders will stay visible on inputs focus. |
| 30 | +– `Refactoring` – Switched to Vite as Cypress bundler |
9 | 31 | - `Fix` — `onChange` will be called when removing the entire text within a descendant element of a block. |
10 | 32 | - `Fix` - Unexpected new line on Enter press with selected block without caret |
11 | 33 | - `Fix` - Search input autofocus loosing after Block Tunes opening |
|
14 | 36 | - `Fix` - Unwanted soft line break on Enter press after period and space (". |") on iOS devices |
15 | 37 | - `Fix` - Caret lost after block conversion on mobile devices. |
16 | 38 | - `Fix` - Caret lost after Backspace at the start of block when previoius block is not convertable |
17 | | -- `Improvement` - The API `blocks.convert()` now returns the new block API |
18 | | -- `Improvement` - The API `caret.setToBlock()` now can accept either BlockAPI or block index or block id |
19 | | -- `New` – *Menu Config* – New item type – HTML |
20 | | -– `Refactoring` – Switched to Vite as Cypress bundler |
21 | | -– `New` – *Menu Config* – Default and HTML items now support hints |
22 | | -- `New` – Inline Toolbar has new look 💅 |
23 | | -- `New` – Inline Tool's `render()` now supports [Menu Config](https://editorjs.io/menu-config/) format |
24 | | -- `New` – *ToolsAPI* – All installed block tools now accessible via ToolsAPI `getBlockTools()` method |
25 | | -- `New` – *SelectionAPI* – Exposed methods `save()` and `restore()` that allow to save selection to be able to temporally move focus away, methods `setFakeBackground()` and `removeFakeBackground()` that allow to immitate selection while focus moved away |
26 | | -- `Impovement` – *MenuConfig* – TunesMenuConfig deprecated, use MenuConfig type instead |
27 | | -- `New` – *BlocksAPI* – Exposed `getBlockByElement()` method that helps find block by any child html element |
28 | 39 | – `Fix` — Deleting whitespaces at the start/end of the block |
29 | | -– `Improvement` — *Types* — `BlockToolConstructorOptions` type improved, `block` and `config` are not optional anymore |
30 | | -- `Improvement` - The Plus button and Block Tunes toggler are now better aligned with large line-height blocks, such as Headings |
| 40 | +- `Fix` — The problem caused by missed "import type" in block mutation event types resolved |
31 | 41 |
|
32 | 42 | ### 2.29.1 |
33 | 43 |
|
|
0 commit comments