block

Текущая схема элемента в бд:

{
    "props": {
        "link": {
            "type": "string",
            "label": "Ссылка",
            "default": ""
        },
        "rotation": {
            "max": 360,
            "min": 0,
            "step": 1,
            "type": "range",
            "label": "Поворот",
            "units": "deg",
            "default": 0
        },
        "borderColor": {
            "type": "color",
            "label": "Цвет рамки",
            "default": "#000000"
        },
        "borderStyle": {
            "type": "select",
            "label": "Стиль рамки",
            "default": "solid",
            "options": [
                "solid",
                "dashed",
                "dotted",
                "double"
            ]
        },
        "borderWidth": {
            "max": 20,
            "min": 0,
            "step": 1,
            "type": "range",
            "label": "Толщина рамки",
            "units": "px",
            "default": 0
        },
        "backgroundColor": {
            "type": "color",
            "label": "Цвет фона",
            "default": "#000000"
        }
    }
}

Последнее обновление