| import type { Value } from '@react-page/editor'; | |
| export const cellSpacingDemo: Value = { | |
| id: 'c1uxgo', | |
| version: 1, | |
| rows: [ | |
| { | |
| id: 'l09c73', | |
| cells: [ | |
| { | |
| id: '3pkvwh', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Top level layout that uses global cell spacing settings', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| { | |
| id: 'y0zafy', | |
| size: 6, | |
| rows: [ | |
| { | |
| id: 'slc8rh', | |
| cells: [ | |
| { | |
| id: 'mmjkz1', | |
| size: 12, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'qe32q9', | |
| cells: [ | |
| { | |
| id: 'dl80vv', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| { | |
| id: '8xymvk', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'v55yqx', | |
| cells: [ | |
| { | |
| id: 'ha4hiq', | |
| size: 12, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: '0ni7v8', | |
| cells: [ | |
| { | |
| id: 'umiqg2', | |
| size: 12, | |
| plugin: { | |
| id: 'custom-layout-plugin-with-cell-spacing', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| backgroundColor: '#ffeeaa', | |
| paddingX: 12, | |
| paddingY: 12, | |
| cellSpacingOverride: true, | |
| cellSpacingX: 20, | |
| cellSpacingY: 20, | |
| }, | |
| }, | |
| rows: [ | |
| { | |
| id: 'bx0cd7', | |
| cells: [ | |
| { | |
| id: 'tagh46', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Layout plugin with custom padding and cell spacing overrides', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| { | |
| id: 'fvrrm1', | |
| size: 6, | |
| rows: [ | |
| { | |
| id: 'zvjmqy', | |
| cells: [ | |
| { | |
| id: '759xh9', | |
| size: 12, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'o5nku6', | |
| cells: [ | |
| { | |
| id: 'gss6fg', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| { | |
| id: 'q5vmp1', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'plcf90', | |
| cells: [ | |
| { | |
| id: 'rc3y65', | |
| size: 12, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'w7lf7g', | |
| cells: [ | |
| { | |
| id: 'adxf4r', | |
| size: 12, | |
| plugin: { | |
| id: 'custom-layout-plugin-with-cell-spacing', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| backgroundColor: '#f7cf2e', | |
| paddingX: 0, | |
| paddingY: 0, | |
| cellSpacingOverride: true, | |
| cellSpacingX: 30, | |
| cellSpacingY: 30, | |
| }, | |
| }, | |
| rows: [ | |
| { | |
| id: 'hkelwj', | |
| cells: [ | |
| { | |
| id: 'tv3lki', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Nested layout plugin with no padding and its own cell spacing overrides', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| { | |
| id: '1afdrz', | |
| size: 6, | |
| rows: [ | |
| { | |
| id: 'hqghus', | |
| cells: [ | |
| { | |
| id: '9kxp9i', | |
| size: 12, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'j9barl', | |
| cells: [ | |
| { | |
| id: 'oswsvd', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| { | |
| id: 'yv3say', | |
| size: 6, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| { | |
| id: 'c2jgv8', | |
| cells: [ | |
| { | |
| id: 'gbddws', | |
| size: 12, | |
| plugin: { | |
| id: 'ory/editor/core/content/slate', | |
| version: 1, | |
| }, | |
| dataI18n: { | |
| default: { | |
| slate: [ | |
| { | |
| type: 'PARAGRAPH/PARAGRAPH', | |
| children: [ | |
| { | |
| text: 'Lorem Ipsum', | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| }, | |
| rows: [], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }, | |
| ], | |
| }; | |