1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 14:41:23 +02:00

Remove leaves from walkthough docs (#2831)

This commit is contained in:
Ken Powers
2019-06-07 10:53:33 -07:00
committed by Ian Storm Taylor
parent f15538d6a5
commit e4c6beaab4
2 changed files with 6 additions and 30 deletions

View File

@@ -40,16 +40,12 @@ const initialValue = Value.fromJSON({
nodes: [
{
object: 'text',
leaves: [
{
text: 'A line of text in a paragraph.',
},
],
},
],
},
],
},
})
```
@@ -70,16 +66,12 @@ const initialValue = Value.fromJSON({
nodes: [
{
object: 'text',
leaves: [
{
text: 'A line of text in a paragraph.',
},
],
},
],
},
],
},
})
// Define our app...

View File

@@ -23,16 +23,12 @@ const initialValue = Value.fromJSON({
nodes: [
{
object: 'text',
leaves: [
{
text: 'A line of text in a paragraph.',
},
],
},
],
},
],
},
})
class App extends React.Component {
@@ -66,16 +62,12 @@ const initialValue = Value.fromJSON({
nodes: [
{
object: 'text',
leaves: [
{
text: 'A line of text in a paragraph.',
},
],
},
],
},
],
},
})
class App extends React.Component {
@@ -114,16 +106,12 @@ const initialValue = Value.fromJSON(
nodes: [
{
object: 'text',
leaves: [
{
text: 'A line of text in a paragraph.',
},
],
},
],
},
],
},
}
)
@@ -161,16 +149,12 @@ const initialValue = Value.fromJSON(
nodes: [
{
object: 'text',
leaves: [
{
text: 'A line of text in a paragraph.',
},
],
},
],
},
],
},
}
)