Settings Schema
Allow Customizable Components
{% schema %}
.
. your settings schema
.
.
{% endschema %}
{% schema %}
{
"name": {
"ar": "name ar",
"en": "name en"
},
"icon": "fa font-awsome icon",
"display": true,
"settings": {
.
. your inputs
.
.
}
}
<header section-id="{{ sectionId }}" class='d-flex flex-column'>
<div id="fixed-header">
{{ settings.key }}
</div>
</header>
{% schema %}
{
"name": {
"ar": "name ar",
"en": "name en"
},
"icon": "fa fa-square",
"display": true,
"settings": {
"key": {
"type": "text",
"label": {
"ar": "العنوان",
"en": "text"
},
"info": {
"ar": "نص توضيØÙŠ",
"en": "info text"
}
}
}
}
{% endschema %}
Modified at 2024-07-28 16:29:47