Comparing version 1.2.1 to 1.3.0
# Changelog | ||
> All notable changes to this project are documented in this file. This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
> All notable changes to this project are documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
@@ -9,8 +9,23 @@ ## Unreleased | ||
## [[v1.2.1]](https://github.com/springload/draftail/releases/tag/v1.2.1) | ||
## [[v1.3.0]](https://github.com/springload/draftail/releases/tag/v1.3.0) | ||
> Documentation: [draftail.org/docs/getting-started](https://www.draftail.org/docs/getting-started) | ||
π blog post for this release: [Draftail v1.3.0: community improvements, beyond Wagtail](https://www.draftail.org/blog/2019/03/03/draftail-v1-2-0-supporting-modern-experiences). | ||
### Added | ||
- Add ability to disable the editor on demand with the [`readOnly`](https://www.draftail.org/docs/api#draftaileditor) prop, matching behavior of Draft.js. [#201](https://github.com/springload/draftail/issues/201), [#206](https://github.com/springload/draftail/pull/206), thanks to [@SpearThruster](https://github.com/SpearThruster). | ||
- Add ability to use the editor as a controlled component, like vanilla Draft.js editors, with [`editorState` and `onChange`](https://www.draftail.org/docs/api#editorstate-and-onchange) props. Have a look at the [controlled component documentation](https://www.draftail.org/docs/controlled-component) for further details. [#180](https://github.com/springload/draftail/issues/180), [#207](https://github.com/springload/draftail/pull/207). | ||
### Fixed | ||
- Fix undo/redo button icons not being customisable ([#195](https://github.com/springload/draftail/issues/195), [#196](https://github.com/springload/draftail/pull/196)). | ||
## [[v1.2.1]](https://github.com/springload/draftail/releases/tag/v1.2.1) | ||
> Documentation: [draftail.org/docs/1.2.1/getting-started](https://www.draftail.org/docs/1.2.1/getting-started) | ||
### Fixed | ||
- Fix regression introduced in v1.2.0 where Draft.js-defined keyboard shortcuts were available unconditionally ([#189](https://github.com/springload/draftail/pull/189)). | ||
@@ -47,3 +62,3 @@ | ||
- 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 [`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/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). | ||
@@ -50,0 +65,0 @@ ### Fixed |
{ | ||
"name": "draftail", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "ππΈ A configurable rich text editor built with Draft.js", | ||
@@ -44,3 +44,3 @@ "author": "Springload", | ||
"draft-js-plugins-editor": "^2.1.1", | ||
"draftjs-conductor": "^0.4.1", | ||
"draftjs-conductor": "^1.0.0", | ||
"draftjs-filters": "^2.2.3" | ||
@@ -54,4 +54,4 @@ }, | ||
"@sentry/browser": "^4.2.3", | ||
"@storybook/addon-viewport": "^4.0.4", | ||
"@storybook/react": "^4.1.13", | ||
"@storybook/addon-viewport": "^5.0.0", | ||
"@storybook/react": "^5.0.0", | ||
"@thibaudcolas/eslint-plugin-cookbook": "^4.0.1", | ||
@@ -68,2 +68,3 @@ "@thibaudcolas/stylelint-config-cookbook": "^2.0.1", | ||
"draft-js": "0.10.5", | ||
"draft-js-emoji-plugin": "^2.1.1", | ||
"draft-js-hashtag-plugin": "^2.0.3", | ||
@@ -70,0 +71,0 @@ "draft-js-inline-toolbar-plugin": "^3.0.0", |
@@ -27,3 +27,3 @@ # [Draftail](https://www.draftail.org/) [![npm](https://img.shields.io/npm/v/draftail.svg)](https://www.npmjs.com/package/draftail) [![Build Status](https://travis-ci.org/springload/draftail.svg?branch=master)](https://travis-ci.org/springload/draftail) [![Coverage Status](https://coveralls.io/repos/github/springload/draftail/badge.svg)](https://coveralls.io/github/springload/draftail) [<img src="https://cdn.rawgit.com/springload/awesome-wagtail/ac912cc661a7099813f90545adffa6bb3e75216c/logo.svg" width="104" align="right" alt="Wagtail">](https://wagtail.io/) | ||
- [Getting started](https://www.draftail.org/docs/getting-started.html) | ||
- [Getting started](https://www.draftail.org/docs/getting-started) | ||
- [API reference](https://www.draftail.org/docs/api) | ||
@@ -30,0 +30,0 @@ - [User guide](https://www.draftail.org/docs/user-guide) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
200054
4046
62
+ Addeddraftjs-conductor@1.2.0(transitive)
- Removeddraftjs-conductor@0.4.5(transitive)
Updateddraftjs-conductor@^1.0.0