From aa7135bc4c4cdf9a6b98120ad5dbaa73035c1cdf Mon Sep 17 00:00:00 2001 From: George Yakovlev Date: Mon, 17 Feb 2020 22:53:08 +0200 Subject: [PATCH] more complex initial data for demo --- demo/data.json | 92 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 84 insertions(+), 8 deletions(-) diff --git a/demo/data.json b/demo/data.json index 983dc4a..0eed0ae 100644 --- a/demo/data.json +++ b/demo/data.json @@ -1,10 +1,86 @@ -[{ - "template": "Container", +[ + { + "template": "Display Heading 1", "fields": [ - { - "name": "text", - "type": "html", - "html": "Hi! This is bricky editor example." - } + { + "name": "text", + "type": "html", + "html": "Hi! This is bricky editor example." + } ] -}] \ No newline at end of file + }, + { + "template": "Columns-2", + "fields": [ + { + "name": "col1", + "type": "container", + "blocks": [ + { + "template": "Image with caption", + "fields": [ + { "name": "image", "type": "image", "src": "assets/photo.jpg" }, + { + "name": "caption", + "type": "html", + "html": "Lorem ipsum dolor sit amet" + } + ] + } + ] + }, + { + "name": "col2", + "type": "container", + "blocks": [ + { + "template": "Heading 1", + "fields": [ + { "name": "text", "type": "html", "html": "Container Column" } + ] + }, + { + "template": "Paragraph Lead", + "fields": [ + { + "name": "text", + "type": "html", + "html": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." + } + ] + } + ] + } + ] + }, + { + "template": "Paragraph Lead", + "fields": [ + { + "name": "text", + "type": "html", + "html": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." + } + ] + }, + { + "template": "Heading 3", + "fields": [ + { + "name": "text", + "type": "html", + "html": "
Embed example:
" + } + ] + }, + { + "template": "Embed", + "fields": [ + { + "name": "embed", + "type": "embed", + "url": "http://instagr.am/p/BO9VX2Vj4fF/" + } + ] + } +]