Skip to content

Commit

Permalink
chore(release): v2.2.1 [skip ci]
Browse files Browse the repository at this point in the history
## [2.2.1](v2.2.0...v2.2.1) (2019-01-23)

### Bug Fixes

* **api:** auto-generate documentation using flow types. Fix [#19](#19) ([#26](#26)) ([a2da323](a2da323))
* **api:** auto-update API docs in README ([aa40707](aa40707))
  • Loading branch information
thibaudcolas authored and semantic-release-bot committed Jan 23, 2019
1 parent 259745c commit 428f7f7
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), enforced with [semantic-release](https://github.com/semantic-release/semantic-release).

## [2.2.1](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.0...v2.2.1) (2019-01-23)

### Bug Fixes

- **api:** auto-generate documentation using flow types. Fix [#19](https://github.com/thibaudcolas/draftjs-filters/issues/19) ([#26](https://github.com/thibaudcolas/draftjs-filters/issues/26)) ([a2da323](https://github.com/thibaudcolas/draftjs-filters/commit/a2da323))
- **api:** auto-update API docs in README ([aa40707](https://github.com/thibaudcolas/draftjs-filters/commit/aa40707))

# [2.2.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.1.0...v2.2.0) (2019-01-22)

### Bug Fixes
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ injects on arbitrary blocks on paste.
##### resetAtomicBlocks

Resets atomic blocks to have a single-space char and no styles.
This is how they are stored by Draft.js by default.

###### Parameters

Expand Down Expand Up @@ -227,6 +228,8 @@ Filters entities based on the data they contain.
##### filterEntityData

Filters data on an entity to only retain what is whitelisted.
This is crucial for IMAGE and LINK, where Draft.js adds a lot
of unneeded attributes (width, height, etc).

###### Parameters

Expand Down Expand Up @@ -258,6 +261,7 @@ See <https://github.com/thibaudcolas/draftjs-filters/issues/27>.

Applies whitelist and blacklist operations to the editor content,
to enforce it's shaped according to the options.
Will not alter the editor state if there are no changes to make.

###### Parameters

Expand Down
30 changes: 22 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "draftjs-filters",
"version": "2.2.0",
"version": "2.2.1",
"description": "Filter Draft.js content to preserve only the formatting you allow",
"author": "Thibaud Colas",
"license": "MIT",
Expand Down

0 comments on commit 428f7f7

Please sign in to comment.