mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 22:45:18 +02:00
update installing slate guide to omit ranges
This commit is contained in:
@@ -41,15 +41,11 @@ const initialState = Raw.deserialize({
|
|||||||
nodes: [
|
nodes: [
|
||||||
{
|
{
|
||||||
kind: 'text',
|
kind: 'text',
|
||||||
ranges: [
|
|
||||||
{
|
|
||||||
text: 'A line of text in a paragraph.'
|
text: 'A line of text in a paragraph.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -67,14 +63,10 @@ const initialState = Raw.deserialize([
|
|||||||
nodes: [
|
nodes: [
|
||||||
{
|
{
|
||||||
kind: 'text',
|
kind: 'text',
|
||||||
ranges: [
|
|
||||||
{
|
|
||||||
text: 'A line of text in a paragraph.'
|
text: 'A line of text in a paragraph.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
])
|
])
|
||||||
|
|
||||||
// Define our app...
|
// Define our app...
|
||||||
|
Reference in New Issue
Block a user