mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-28 02:24:48 +00:00
This includes: - [v1.0.0](https://github.com/springload/draftail/releases/tag/v1.0.0) (identical to v0.17.2) - [v1.1.0](https://github.com/springload/draftail/releases/tag/v1.1.0) (contains fix for #4985) - [v1.2.0](https://github.com/springload/draftail/releases/tag/v1.2.0) - [v1.2.1](https://github.com/springload/draftail/releases/tag/v1.2.1) (fixes regression in v1.2.0) Here is the combined CHANGELOG for what's relevant to Wagtail: Bug fixes ~~~~~~~~~ - #4985 – Prevent crash when filtering pasted content whose last block is to be removed (e.g. unsupported image) ([#179](https://github.com/springload/draftail/issues/179)). - Stop unnecessarily calling `onSave` in the editor’s `onBlur` ([#173](https://github.com/springload/draftail/issues/173)). - Prevent crash in `DraftUtils.getEntitySelection`, when the provided entity key isn't valid (undefined, missing) ([#168](https://github.com/springload/draftail/pull/168)). - Fix entity removal and editing not doing anything when the selection is backwards (right to left) ([#168](https://github.com/springload/draftail/pull/168)). - Prevent the editor from crashing when copy-paste filtering removes all of its content (https://github.com/thibaudcolas/draftjs-filters/commit/652750f) New features ~~~~~~~~~~~~ - Add support for Markdown shortcuts for inline styles, e.g. `**` for bold, `_` for italic, etc ([#134](https://github.com/springload/draftail/issues/134), [#187](https://github.com/springload/draftail/pull/187)). View the full list of [keyboard shortcuts](https://www.draftail.org/docs/keyboard-shortcuts). New APIs ~~~~~~~~ - Add [`onFocus`](https://www.draftail.org/docs/api#managing-focus) and [`onBlur`](https://www.draftail.org/docs/api#managing-focus) props to use callbacks on those events. This can be useful for [form validation](https://www.draftail.org/docs/next/form-validation). [#170](https://github.com/springload/draftail/issues/170), [#174](https://github.com/springload/draftail/pull/174), thanks to [@TheSpicyMeatball](https://github.com/TheSpicyMeatball). - Add [`plugins`](https://www.draftail.org/docs/plugins) API to support extensions of the editor using the [draft-js-plugins](https://github.com/draft-js-plugins/draft-js-plugins) architecture ([#83](https://github.com/springload/draftail/issues/83), [#171](https://github.com/springload/draftail/pull/171)). - Add ability to disable or customise the editor toolbar with [`topToolbar`](https://www.draftail.org/docs/customising-toolbars). - Add ability to add a toolbar below the editor with [`bottomToolbar`](https://www.draftail.org/docs/customising-toolbars). - Add data reset parameter to `DraftUtils.resetBlockWithType()`. - Enable list continuation on Enter for custom `*-list-item` blocks. All that’s required is for the block type to end with `-list-item`. None of those API additions will be usable within Wagtail (at least without hacks) until corresponding rich text features APIs are built to allow their configuration. The last 2 additions would already be usable but they would only be useful when leveraging the other APIs. |
||
|---|---|---|
| .. | ||
| 0.4.1.rst | ||
| 0.4.rst | ||
| 0.5.rst | ||
| 0.6.rst | ||
| 0.7.rst | ||
| 0.8.1.rst | ||
| 0.8.3.rst | ||
| 0.8.4.rst | ||
| 0.8.5.rst | ||
| 0.8.6.rst | ||
| 0.8.7.rst | ||
| 0.8.8.rst | ||
| 0.8.10.rst | ||
| 0.8.rst | ||
| 1.0.rst | ||
| 1.1.rst | ||
| 1.2.rst | ||
| 1.3.1.rst | ||
| 1.3.rst | ||
| 1.4.1.rst | ||
| 1.4.2.rst | ||
| 1.4.3.rst | ||
| 1.4.4.rst | ||
| 1.4.5.rst | ||
| 1.4.6.rst | ||
| 1.4.rst | ||
| 1.5.1.rst | ||
| 1.5.2.rst | ||
| 1.5.3.rst | ||
| 1.5.rst | ||
| 1.6.1.rst | ||
| 1.6.2.rst | ||
| 1.6.3.rst | ||
| 1.6.rst | ||
| 1.7.rst | ||
| 1.8.1.rst | ||
| 1.8.2.rst | ||
| 1.8.rst | ||
| 1.9.1.rst | ||
| 1.9.rst | ||
| 1.10.1.rst | ||
| 1.10.rst | ||
| 1.11.1.rst | ||
| 1.11.rst | ||
| 1.12.1.rst | ||
| 1.12.2.rst | ||
| 1.12.3.rst | ||
| 1.12.4.rst | ||
| 1.12.5.rst | ||
| 1.12.6.rst | ||
| 1.12.rst | ||
| 1.13.1.rst | ||
| 1.13.2.rst | ||
| 1.13.3.rst | ||
| 1.13.4.rst | ||
| 1.13.rst | ||
| 2.0.1.rst | ||
| 2.0.2.rst | ||
| 2.0.rst | ||
| 2.1.1.rst | ||
| 2.1.2.rst | ||
| 2.1.3.rst | ||
| 2.1.rst | ||
| 2.2.1.rst | ||
| 2.2.2.rst | ||
| 2.2.rst | ||
| 2.3.rst | ||
| 2.4.rst | ||
| 2.5.rst | ||
| index.rst | ||
| upgrading.rst | ||