mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 06:53:25 +02:00
update changelogs
This commit is contained in:
@@ -4,6 +4,14 @@ This document maintains a list of changes to the `slate-react` package with each
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### `0.12.0` — February 21, 2018
|
||||||
|
|
||||||
|
###### BREAKING
|
||||||
|
|
||||||
|
* **Update to use `slate@0.33.0`.** This is to match the changes to void node behavior where their content is no longer restricted.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### `0.11.0` — January 4, 2018
|
### `0.11.0` — January 4, 2018
|
||||||
|
|
||||||
###### BREAKING
|
###### BREAKING
|
||||||
|
@@ -4,6 +4,20 @@ This document maintains a list of changes to the `slate` package with each new v
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### `0.33.0` — February 21, 2018
|
||||||
|
|
||||||
|
###### BREAKING
|
||||||
|
|
||||||
|
* **Void nodes no longer prescribe their text content.** Previously void nodes would automatically normalize their text content to be a single text node containing `' '` an empty string of content. This restriction was removed, so that void nodes can have arbitrary content. You can use this to store information in void nodes in a way that is more consistent with non-void nodes.
|
||||||
|
|
||||||
|
###### DEPRECATED
|
||||||
|
|
||||||
|
* **The `setBlock` method has been renamed to `setBlocks`.** This is to make it more clear that it operates on any of the current blocks in the selection, not just a single blocks.
|
||||||
|
|
||||||
|
* **The `setInline` method has been renamed to `setInlines`.** For the same reason as `setBlocks`, to be clear and stay consistent.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### `0.32.0` — January 4, 2018
|
### `0.32.0` — January 4, 2018
|
||||||
|
|
||||||
###### BREAKING
|
###### BREAKING
|
||||||
|
Reference in New Issue
Block a user