mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
update history
This commit is contained in:
@@ -7,6 +7,8 @@ This document maintains a list of changes to Slate with each new version. Until
|
||||
|
||||
### `0.6.0` — _July 22, 2016_
|
||||
|
||||
#### BREAKING CHANGES
|
||||
|
||||
- **Void components are no longer rendered implicity!** Previously, Slate would automatically wrap any node with `isVoid: true` in a `<Void>` component. But doing this prevented you from customizing the wrapper, like adding a `className` or `style` property. So you **must now render the wrapper yourself**, and it has been exported as `Slate.Void`.
|
||||
|
||||
This, combined with a small change to the `<Void>` component's structure allows the "selected" state of void nodes to be rendered purely with CSS based on the `:focus` property of a `<Void>` element. This prevents us from having to handle this case specially when choosing whether to re-render or not when a new selection has occured, improving performance and reducing complexity.
|
||||
|
Reference in New Issue
Block a user