1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-02 11:42:53 +02:00

change a few examples to omit ranges for cleanliness

This commit is contained in:
Ian Storm Taylor
2016-07-21 16:41:35 -07:00
parent 53c57c40d9
commit 6993b0c666
5 changed files with 17 additions and 85 deletions

View File

@@ -6,11 +6,7 @@
"nodes": [
{
"kind": "text",
"ranges": [
{
"text": "In addition to nodes that contain editable text, you can also create other types of nodes, like images or videos."
},
]
"text": "In addition to nodes that contain editable text, you can also create other types of nodes, like images or videos."
}
]
},
@@ -24,11 +20,7 @@
"nodes": [
{
"kind": "text",
"ranges": [
{
"text": ""
}
]
"text": ""
}
]
},
@@ -38,11 +30,7 @@
"nodes": [
{
"kind": "text",
"ranges": [
{
"text": "This example shows images in action. It features two ways to add images. You can either add an image via the toolbar icon above, or if you want in on a little secret, copy an image URL to your keyboard and paste it anywhere in the editor!"
}
]
"text": "This example shows images in action. It features two ways to add images. You can either add an image via the toolbar icon above, or if you want in on a little secret, copy an image URL to your keyboard and paste it anywhere in the editor!"
}
]
}