mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +02:00
update history
This commit is contained in:
@@ -33,8 +33,7 @@ _July 18, 2016_
|
|||||||
|
|
||||||
#### BREAKING CHANGES
|
#### BREAKING CHANGES
|
||||||
|
|
||||||
- **Renamed the `mark` transform to `addMark`.**
|
- **Renamed `transform.mark()` to `transform.addMark()` and `transform.unmark()` to `transform.removeMark()`.**
|
||||||
- **Renamed the `unmark` transform to `removeMark`.**
|
|
||||||
|
|
||||||
The new names make it clearer that the transforms are actions being performed, and it paves the way for adding a `toggleMark` convenience as well.
|
The new names make it clearer that the transforms are actions being performed, and it paves the way for adding a `toggleMark` convenience as well.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user