dding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'blockID' => array(
'type' => 'string',
'default' => ''
),
'list' => array(
'type' => 'string',
'default' => '' //phased out, formerly
Item 1Item 2Item 3'
),
'listItem' => array(
'type' => 'array',
'default' => array_fill(0, 3,
array(
'text' => '',
'selectedIcon' => 'check',
'indent' => 0
)
)
),
'selectedIcon' => array(
'type' => 'string',
'default' => 'check'
),
'iconColor' => array(
'type' => 'string',
'default' => '#000000'
),
'iconSize' => array(
'type' => 'number',
'default' => 5
),
'fontSize' => array(
'type' => 'number',
'default' => 0
),
'itemSpacing' => array(
'type' => 'number',
'default' => 0
),
'columns' => array(
'type' => 'number',
'default' => 1
),
'maxMobileColumns' => array(
'type' => 'number',
'default' => 2
),
'isRootList' => array(
'type' => 'boolean',
'default' => false
),
'textColor' => array(
'type' => 'string',
'default' => ''
),
'backgroundColor' => array(
'type' => 'string',
'default' => ''
),
)
),
'ub/styled-list-item' => array(
'attributes' => array(
'alignment' => array(
'type' => 'string',
'default' => 'left'
),
'padding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'blockID' => array(
'type' => 'string',
'default' => ''
),
'itemText' => array(
'type' => 'string',
'default' => ''
),
'selectedIcon' => array(
'type' => 'string',
'default' => 'check'
),
'iconColor' => array(
'type' => 'string',
'default' => '#000000'
),
'iconSize' => array(
'type' => 'number',
'default' => 5
),
'fontSize' => array(
'type' => 'number',
'default' => 0
)
)
),
'ub/tab-block' => array(
'attributes' => array(
'index' => array(
'type' => 'number',
'default' => 0
),
'isActive' => array(
'type' => 'boolean',
'default' => true
),
'parentID' => array(
'type' => 'string',
'default' => ''
),
)
),
'ub/tabbed-content-block' => array(
'attributes' => array(
'blockID' => array(
'type' => 'string',
'default' => ''
),
'contentColor' => array(
'type' => 'string',
'default' => null
),
'contentBackground' => array(
'type' => 'string',
'default' => null
),
'padding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'activeTab' => array(
'type' => 'number',
'default' => 0
),
'theme' => array(
'type' => 'string',
'default' => '#eeeeee'
),
'normalColor' => array(
'type' => 'string',
'default' => ''
),
'titleColor' => array(
'type' => 'string',
'default' => '' //should be empty
),
'normalTitleColor' => array(
'type' => 'string',
'default' => ''
),
'borderColor' => array(
'type' => 'string',
'default' => '#d3d3d3'
),
'tabsAlignment' => array(
'type' => 'string',
'default'=> 'left'
),
'tabsTitle' => array(
'type' => 'array',
'default' => array(),
'items' => array(
'type' => 'string'
)
),
'tabsAnchor' => array(
'type' => 'array',
'default' => array(),
'items' => array(
'type' => 'string'
)
),
'useAnchors' => array(
'type' => 'boolean',
'default' => false
),
'tabsTitleAlignment' => array(
'type' => 'array',
'default' => array(),
'items' => array(
'type' => 'string'
)
),
'tabVertical' => array(
'type' => 'boolean',
'default' => false
),
'tabletTabDisplay' => array(
'type' => 'string',
'default' => 'horizontaltab'
),
'mobileTabDisplay' => array(
'type' => 'string',
'default' => 'horizontaltab'
),
'tabStyle' => array(
'type' => 'string',
'default' => 'tabs'
),
)
),
'ub/table-of-contents-block' => array(
'attributes' => array(
'blockID' => array(
'type' => 'string',
'default' => ''
),
'title' => array(
'type' => 'string',
'default' => ''
),
'padding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'allowedHeaders' => array(
'type' => 'array',
'default' => array_fill(0, 6, true),
'items' => array(
'type' => 'boolean'
)
),
'links' => array(
'type' => 'string',
'default' => ''
),
'linkToDivider' => array(
'type' => 'boolean',
'default' => false
),
'allowToCHiding' => array(
'type' => 'boolean',
'default' => false
),
'hideOnMobile' => array(
'type' => 'boolean',
'default' => false
),
'showList' => array(
'type' => 'boolean',
'default' => true
),
'numColumns' => array(
'type' => 'number',
'default' => 1
),
'listStyle' => array(
'type' => 'string',
'default' => 'bulleted'
),
'enableSmoothScroll' => array(
'type' => 'boolean',
'default' => false
),
'titleAlignment' => array(
'type' => 'string',
'default' => 'left'
),
'gaps' => array(
'type' => 'array',
'default' => array(),
'items' => array(
'type' => 'number'
)
),
'removeDiacritics' => array (
'type' => 'boolean',
'default' => false,
),
'scrollOption' => array(
'type' => 'string',
'default' => 'auto' //other options: namedelement, fixedamount, off
),
'scrollOffset' => array(
'type' => 'number',
'default' => 0
),
'scrollTarget' => array(
'type' => 'string',
'default' => ''
),
'scrollTargetType' => array(
'type' => 'string',
'default' => 'id' //other types: class, element
),
'titleColor' => array(
'type' => 'string',
'default' => '',
),
'titleBackgroundColor' => array(
'type' => 'string',
'default' => '',
),
'listColor' => array(
'type' => 'string',
'default' => '',
),
'listBackgroundColor' => array(
'type' => 'string',
'default' => '',
),
'listIconColor' => array(
'type' => 'string',
'default' => ''
),
'showText' => array(
'type' => 'string',
'default' => 'show'
),
'hideText' => array(
'type' => 'string',
'default' => 'hide'
),
)
),
'ub/testimonial' => array(
'attributes' => array(
'blockID' => array(
'type' => 'string',
'default' => ''
),
'ub_testimonial_text' => array(
'type' => 'string',
'default' => ''
),
'textAlign' => array(
'type' => 'string',
'default' => 'justify'
),
'ub_testimonial_author' => array(
'type' => 'string',
'default' => ''
),
'padding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'authorAlign' => array(
'type' => 'string',
'default' => 'right'
),
'ub_testimonial_author_role' => array(
'type' => 'string',
'default' => ''
),
'authorRoleAlign' => array(
'type' => 'string',
'default' => 'right'
),
'imgURL' => array(
'type' => 'string',
'default' => ''
),
'imgID' => array(
'type' => 'number',
'default' => 0
),
'imgAlt' => array(
'type' => 'string',
'default' => ''
),
'backgroundColor' => array(
'type' => 'string',
'default' => '#f4f6f6'
),
'textColor' => array(
'type' => 'string',
'default' => ''
),
'textSize' => array(
'type' => 'number',
'default' => 17
)
)
),
'ub/icon-innerblock' => [
'attributes' => [
'iconName' => [
'type' => 'string',
'default' => ''
],
'size' => [
'type' => 'number',
'default' => 30
]
]
],
'ub/icon' => array(
'attributes' => array(
'icon' => array(
'type' => 'array',
'default' => array()
),
'padding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'svgIcon' => array(
'type' => 'string',
'default' => ''
),
'size' => array(
'type' => 'string',
'default' => "40px"
),
'iconColor' => array(
'type' => "string",
'default' => null
),
'iconHoverColor' => array(
'type' => "string",
'default' => null
),
'iconBackground' => array(
'type' => "string",
'default' => null
),
'iconHoverBackground' => array(
'type' => "string",
'default' => null
),
'iconGradientBackground' => array(
'type' => "string",
'default' => null
),
'iconHoverGradientBackground' => array(
'type' => "string",
'default' => null
),
'justification' => array(
'type' => "string",
'default' => 'center'
),
'linkUrl' => array(
'type' => 'string',
'default' => ''
),
'linkRel' => array(
'type' => 'string',
'default' => ''
),
'linkTarget' => array(
'type' => 'string',
'default' => ''
),
'iconRotation' => array(
'type' => 'number',
'default' => 0
),
)
),
'ub/counter' => array(
'attributes' => array (
'labelColor' => array(
'type' => 'string',
'default' => ''
),
'counterFontFamily' => array(
'type' => 'string',
'default' => ''
),
'labelFontFamily' => array(
'type' => 'string',
'default' => ''
),
'counterDecoration' => array(
'type' => 'string',
'default' => ''
),
'labelDecoration' => array(
'type' => 'string',
'default' => ''
),
'startNumber' => array(
'type' => 'string',
'default' => '0'
),
'endNumber' => array(
'type' => 'string',
'default' => '500'
),
'labelFontSize' => array(
'type' => 'string',
'default' => '16px'
),
'counterFontSize' => array(
'type' => 'string',
'default' => '48px'
),
'prefix' => array(
'type' => 'string',
'default' => ''
),
'suffix' => array(
'type' => 'string',
'default' => ''
),
'animationDuration' => array(
'type' => 'number',
'default' => 2
),
'alignment' => array(
'type' => 'string',
'default' => 'center'
),
'label' => array(
'type' => 'string',
'default' => ''
),
'labelPosition' => array(
'type' => 'string',
'default' => 'bottom'
),
'gap' => array(
'type' => 'array',
'default' => array()
),
'padding' => array(
'type' => 'array',
'default' => array()
),
'margin' => array(
'type' => 'array',
'default' => array()
),
'counterFontAppearance' => array(
'type' => 'array',
'default' => array(
'fontStyle' => '',
'fontWeight' => ''
)
),
'labelFontAppearance' => array(
'type' => 'array',
'default' => array(
'fontStyle' => '',
'fontWeight' => ''
)
),
)
)
);
Communauté – Meducol