|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +### 2.17 |
| 4 | + |
| 5 | +- `Improvements` - Editor's [onchange callback](https://editorjs.io/configuration#editor-modifications-callback) now accepts an API as a parameter |
| 6 | +- `Fix` - Some mistakes are fixed in [installation.md](installation.md) |
| 7 | +- `Fix` - Fixed multiple paste callback triggering in a case when several editors are instantiated [#1011](https://github.com/codex-team/editor.js/issues/1011) |
| 8 | +- `Fix` - Fixed inline toolbar flipper activation on closing conversion toolbar [#995](https://github.com/codex-team/editor.js/issues/995) |
| 9 | +- `Improvements` - New window tab is opened by clicking on anchor with ctrl [#1057](https://github.com/codex-team/editor.js/issues/1057) |
| 10 | +- `Fix` - Fix block-tune buttons alignment in some CSS-resetors that forces `box-sizing: border-box` rule [#1003](https://github.com/codex-team/editor.js/issues/1003) |
| 11 | +- `Improvements` - New style of a Block Settings button. Focused block background removed. |
| 12 | +- `New` — Add in-house copy-paste support through `application/x-editor-js` mime-type |
| 13 | +- `New` Block [lifecycle hook](tools.md#block-lifecycle-hooks) `moved` |
| 14 | +- `Deprecated` — [`blocks.swap(fromIndex, toIndex)`](api.md) method is deprecated. Use `blocks.move(toIndex, fromIndex)` instead. |
| 15 | +- `Fix` — Improve plain text paste [#1012](https://github.com/codex-team/editor.js/issues/1012) |
| 16 | +- `Fix` — Fix multiline paste [#1015](https://github.com/codex-team/editor.js/issues/1015) |
| 17 | + |
3 | 18 | ### 2.16.1
|
4 | 19 |
|
5 | 20 | - `Fix` — Fix Firefox bug with incorrect height and cursor position of empty content editable elements [#947](https://github.com/codex-team/editor.js/issues/947) [#876](https://github.com/codex-team/editor.js/issues/876) [#608](https://github.com/codex-team/editor.js/issues/608) [#876](https://github.com/codex-team/editor.js/issues/876)
|
6 |
| -- `Fix` — Set initial hidden Inline Toolbar position [#979](https://github.com/codex-team/editor.js/issues/979) |
7 |
| -- `Fix` — Fix issue with CodeX.Toolips TypeScript definitions [#978](https://github.com/codex-team/editor.js/issues/978) |
| 21 | +- `Fix` — Set initial hidden Inline Toolbar position [#979](https://github.com/codex-team/editor.js/issues/979) |
| 22 | +- `Fix` — Fix issue with CodeX.Toolips TypeScript definitions [#978](https://github.com/codex-team/editor.js/issues/978) |
8 | 23 | - `Fix` — Fix some issues with Inline and Tunes toolbars.
|
9 | 24 | - `Fix` - Fix `minHeight` option with zero-value issue [#724](https://github.com/codex-team/editor.js/issues/724)
|
10 |
| -- `Improvements` — Disable Conversion Toolbar if there are no Tools to convert [#984](https://github.com/codex-team/editor.js/issues/984) |
| 25 | +- `Improvements` — Disable Conversion Toolbar if there are no Tools to convert [#984](https://github.com/codex-team/editor.js/issues/984) |
11 | 26 |
|
12 | 27 | ### 2.16
|
13 | 28 |
|
14 | 29 | - `Improvements` — Inline Toolbar design improved
|
15 | 30 | - `Improvements` — Conversion Toolbar now included in the Inline Toolbar [#853](https://github.com/codex-team/editor.js/issues/853)
|
16 | 31 | - `Improvements` — All buttons now have beautiful Tooltips provided by [CodeX Tooltips](https://github.com/codex-team/codex.tooltips)
|
17 |
| -- `New` — new Tooltips API for displaying tooltips near your custom elements |
| 32 | +- `New` — new Tooltips API for displaying tooltips near your custom elements |
18 | 33 | - `New` *API* — Block [lifecycle hooks](tools.md#block-lifecycle-hooks)
|
19 |
| -- `New` *Inline Tools API* — Ability to specify Tool's title via `title` static getter. |
| 34 | +- `New` *Inline Tools API* — Ability to specify Tool's title via `title` static getter. |
20 | 35 | - `Fix` — On selection from end to start backspace is working as expected now [#869](https://github.com/codex-team/editor.js/issues/869)
|
21 | 36 | - `Fix` — Fix flipper with empty dom iterator [#926](https://github.com/codex-team/editor.js/issues/926)
|
22 | 37 | - `Fix` — Normalize node before walking through children at `isEmpty` method [#943](https://github.com/codex-team/editor.js/issues/943)
|
23 | 38 | - `Fix` — Fixed Grammarly conflict [#779](https://github.com/codex-team/editor.js/issues/779)
|
24 | 39 | - `Improvements` — Module Listeners now correctly removes events with options [#904](https://github.com/codex-team/editor.js/pull/904)
|
25 |
| -- `Improvements` — Styles API: `.cdx-block` default vertical margins decreased from 0.7 to 0.4 ems. |
26 |
| -- `Fix` — Fixed History Back on block deletion by Backspace in Firefox [#967](https://github.com/codex-team/editor.js/pull/967) |
| 40 | +- `Improvements` — Styles API: `.cdx-block` default vertical margins decreased from 0.7 to 0.4 ems. |
27 | 41 | - `Fix` — Fixed `getRangeCount` call if range count is 0 [#938](https://github.com/codex-team/editor.js/issues/938)
|
28 |
| -- `New` — Log levels now available to suppress Editor.js console messages [#962](https://github.com/codex-team/editor.js/issues/962) |
| 42 | +- `New` — Log levels now available to suppress Editor.js console messages [#962](https://github.com/codex-team/editor.js/issues/962) |
29 | 43 | - `Fix` — Fixed wrong navigation on block deletion
|
30 | 44 |
|
31 | 45 | ### 2.15.1
|
|
38 | 52 |
|
39 | 53 | ### 2.15
|
40 | 54 |
|
41 |
| -- `New` — New [`blocks.insert()`](api.md) API method [#715](https://github.com/codex-team/editor.js/issues/715). |
| 55 | +- `New` — New [`blocks.insert()`](api.md) API method [#715](https://github.com/codex-team/editor.js/issues/715). |
42 | 56 | - `New` *Conversion Toolbar* — Ability to convert one block to another [#704](https://github.com/codex-team/editor.js/issues/704)
|
43 | 57 | - `New` *Cross-block selection* — Ability to select multiple blocks by mouse and with SHIFT+ARROWS [#703](https://github.com/codex-team/editor.js/issues/703)
|
44 |
| -- `Deprecated` — [`blocks.insertNewBlock()`](api.md) method is deprecated. Use `blocks.insert()` instead. |
| 58 | +- `Deprecated` — [`blocks.insertNewBlock()`](api.md) method is deprecated. Use `blocks.insert()` instead. |
45 | 59 | - `Improvements` — Inline Toolbar now works on mobile devices [#706](https://github.com/codex-team/editor.js/issues/706)
|
46 | 60 | - `Improvements` — Toolbar looks better on mobile devices [#706](https://github.com/codex-team/editor.js/issues/706)
|
47 | 61 | - `Improvements` — Now `pasteConfig` can return `false` to disable paste handling on your Tool [#801](https://github.com/codex-team/editor.js/issues/801)
|
|
67 | 81 | - `Deprecated` *Config* - `holderId` property now is deprecated and will removed in next major release. Use `holder` instead.
|
68 | 82 | - `Fix` *Types* — Fixed error with `codex-notifier` package [#713](https://github.com/codex-team/editor.js/issues/713)
|
69 | 83 | - `Improvements` — Close inline toolbar after creating a new link.
|
70 |
| -- `New` *Config* — Option `minHeight` for customizing Editor's bottom zone height added. |
| 84 | +- `New` *Config* — Option `minHeight` for customizing Editor's bottom zone height added. |
71 | 85 |
|
72 |
| -### 2.12.4 |
| 86 | +### 2.12.4 |
73 | 87 |
|
74 | 88 | - `Improvements` — CodeX.Shortcuts version updated to the v1.1 [#684](https://github.com/codex-team/editor.js/issues/684)
|
75 | 89 | - `Fix` — Do not start multi-block selection on Toolbox and Inline Toolbar [#646](https://github.com/codex-team/editor.js/issues/646)
|
|
82 | 96 |
|
83 | 97 | ### 2.12.2
|
84 | 98 |
|
85 |
| -- New *Inline Tools* — pass tool settings from configuration to Tool constructor |
| 99 | +- New *Inline Tools* — pass tool settings from configuration to Tool constructor |
86 | 100 |
|
87 | 101 | ### 2.12.1
|
88 | 102 |
|
89 | 103 | - `Fix` — Fix processing `color-mod` function in styles
|
90 | 104 |
|
91 |
| -### 2.12.0 |
| 105 | +### 2.12.0 |
92 | 106 |
|
93 |
| -- `New` *API* - new `blocks` API method `renderFromHTML` |
| 107 | +- `New` *API* - new `blocks` API method `renderFromHTML` |
94 | 108 |
|
95 | 109 | ### 2.11.11
|
96 | 110 |
|
|
102 | 116 |
|
103 | 117 | ### 2.11.9
|
104 | 118 |
|
105 |
| -- `Fix` - Fix inline toolbar buttons margin. Update dependencies list. Update tools for example page. |
| 119 | +- `Fix` - Fix inline toolbar buttons margin. Update dependencies list. Update tools for example page. |
106 | 120 |
|
107 | 121 | ### 2.11.8
|
108 | 122 |
|
|
192 | 206 |
|
193 | 207 | - `Fix` — cmd+x works only for custom selection now
|
194 | 208 |
|
195 |
| -### 2.7.28 |
| 209 | +### 2.7.28 |
196 | 210 |
|
197 | 211 | - `New` [Tools Validation](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#validate-optional) is added.
|
198 | 212 |
|
|
222 | 236 | - `New` *Sanitize API* — [Sanitize Config](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#automatic-sanitize) of `Block Tools` now automatically extends by tags of `Inline Tools` that is enabled by current Tool by `inlineToolbar` option. You don't need more to specify `a, b, mark, code` manually. This feature will be added to fields that supports inline markup.
|
223 | 237 | - `New` *Block Selection* — Ability to select Block by `CMD+A`, and the whole Editor by double `CMD+A`. After that, you can copy (`CMD+C`), remove (`Backspace`) or clear (`Enter`) selected Blocks.
|
224 | 238 | - `New` *[Styles API](https://github.com/codex-team/editor.js/blob/master/types/api/styles.d.ts)* — Added `button` class for stylization of any buttons provided by Tools with one unified style.
|
225 |
| -- `New` *[Notifier API](https://github.com/codex-team/editor.js/blob/master/docs/api.md#notifierapi)* — methods for showing user notifications: on success, errors, warnings, etc. |
226 |
| -- `New` *Block Tool* — [Table](http://github.com/editor-js/table) constructor 💪 |
227 |
| -- `New` If one of the Tools is unavailable on Editor initialization, its Blocks will be rendered with *Dummy Block*, describing that user can not edit content of this Block. Dummy Blocks can be moved, removed and saved as normal Blocks. So saved data won't be lost if one of the Tools is failed |
| 239 | +- `New` *[Notifier API](https://github.com/codex-team/editor.js/blob/master/docs/api.md#notifierapi)* — methods for showing user notifications: on success, errors, warnings, etc. |
| 240 | +- `New` *Block Tool* — [Table](http://github.com/editor-js/table) constructor 💪 |
| 241 | +- `New` If one of the Tools is unavailable on Editor initialization, its Blocks will be rendered with *Dummy Block*, describing that user can not edit content of this Block. Dummy Blocks can be moved, removed and saved as normal Blocks. So saved data won't be lost if one of the Tools is failed |
228 | 242 | - `New` [Public TS-types](https://github.com/codex-team/editor.js/tree/master/types) are presented.
|
229 | 243 | - `Changes` *Tools API* — options `irreplaceable` and `contentless` was removed.
|
230 | 244 | - `Changes` *Tools API* — [Paste API](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#paste-handling): tags, patterns and mime-types now should be specified by Tool's `pasteConfig` static property. Custom Paste Event should be handled by `onPaste(event)` that should not be static from now.
|
|
0 commit comments