mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
update changelog
This commit is contained in:
@@ -14,7 +14,7 @@ This document maintains a list of changes to the `slate` package with each new v
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Now there is a new `match` object concept, which is used in all places that previously took `types/objects` rules. It looks like:
|
Now there is a new `match` object concept, which looks like:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
@@ -45,6 +45,8 @@ Additionally, schema rules can now be defined using a `schema.rules` array of ob
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
All of the shorthands like `schema.blocks` and `schema.inlines` are still available, and are simply rewritten to the more flexible `rules` syntax under the covers. These changes are just a small way of making Slate more flexible for advanced use cases when you run into them.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### `0.35.0` — July 27, 2018
|
### `0.35.0` — July 27, 2018
|
||||||
|
Reference in New Issue
Block a user