mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 15:02:51 +02:00
fix lint
This commit is contained in:
@@ -14,7 +14,9 @@ This document maintains a list of changes to the `slate-hyperscript` package wit
|
|||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
<paragraph>
|
<paragraph>
|
||||||
<b>a few <i>italic</i> and bold words.</b>
|
<b>
|
||||||
|
a few <i>italic</i> and bold words.
|
||||||
|
</b>
|
||||||
</paragraph>
|
</paragraph>
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -23,14 +25,15 @@ Must now be written as:
|
|||||||
```jsx
|
```jsx
|
||||||
<paragraph>
|
<paragraph>
|
||||||
<b>a few </b>
|
<b>a few </b>
|
||||||
<b><i>italic</i></b>
|
<b>
|
||||||
|
<i>italic</i>
|
||||||
|
</b>
|
||||||
<b> and bold words.</b>
|
<b> and bold words.</b>
|
||||||
</paragraph>
|
</paragraph>
|
||||||
```
|
```
|
||||||
|
|
||||||
Slightly more verbose, but with the benefit of being easy to tell exactly how many text nodes you will receive in your resulting document. And it allows setting `key=` values on the mark tags directly, since they map `1:1` to text nodes.
|
Slightly more verbose, but with the benefit of being easy to tell exactly how many text nodes you will receive in your resulting document. And it allows setting `key=` values on the mark tags directly, since they map `1:1` to text nodes.
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### `0.11.0` — October 9, 2018
|
### `0.11.0` — October 9, 2018
|
||||||
|
Reference in New Issue
Block a user