---
# System prepended metadata

title: Selio Editor Documentation

---

# Selio Editor Documentation


### Format
Format dasar section
```
{
  
  // key section
  "section": "s0",
  
  // nama section
  "name": "Meta",
  
  // string html
  "html": "",
  
  // children
  "children": [
      ...children
  ]
  
}
```



### Section Meta (Mandatory)
Section Meta digunakan untuk metadata pada salespage supplier. Section Meta wajib ada di setiap template salespage. key yang digunakan adalah "s0"
```
{
  "section": "s0",
  "name": "Meta",
  "html": "",
  "children": [
    {
      "key": "meta_title",
      "label": "Judul Salespage",
      "length": 50,
      "type": "input",
      "value": "Toko Saya"
    },
    {
      "key": "meta_description",
      "label": "Deskripsi",
      "length": 100,
      "type": "textarea",
      "value": "Join reseller Toko Kami dan dapatkan Promo sebesar 80% serta keuntungan yang melimpah"
    },
    {
      "key": "meta_thumbnail",
      "label": "Gambar Thumbnail",
      "type": "image",
      "value": "https://i.ytimg.com/vi/2XB-dCOv89A/maxresdefault.jpg"
    }
  ]
}
```

<br/>


## Children
### Mandatory Field
Field yang wajib ada disetiap children

```
{
  "key": "s1_2",
  "label": "Gambar",
  ...
},
```

### Conditional Field
#### Input

```
{
  // Mandatory field
  ...
  "type": "image",
  "value": "https://i.ibb.co/5cnkrmH/1.png"
},
```
#### Textarea

```
{
    // Mandatory field
    ...
    "type": "textarea",
    "value": "Lorem Ipsum Dolor Sit Amet ala carte"
    "length": 100,
},
```

#### Image
```
{
    // Mandatory field
    ...
    "type": "image",
    "value": "https://yourweb.com/yourimage.jpg",
    "resolution": {
        "height": "500",
        "width": "500"
    }
},
```
