1
0
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:
Ian Storm Taylor
2016-07-21 16:42:24 -07:00
parent 6993b0c666
commit d4433b8ec3

View File

@@ -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...