Current File : /var/www/e360ban/wp-content/plugins/wp-views/vendor/toolset/blocks/config/single-field.php |
<?php
/**
* Config for the Single Field block.
* IMPORTANT: The Single Field does only use config for the link style. The block config is partly used to save
* migration work later.
*/
return [
'slug' => 'field',
'title' => __( 'Single Field', 'wpv-views' ),
'description' => __( 'Displays a single field within your content.', 'wpv-views' ),
'keywords' => [
'single field',
__( 'single field', 'wpv-views' ),
'toolset',
],
'supports' => [
'customClassName' => false,
],
'css' => [
'rootClass' => '',
'styleMap' => [
'a' => [
'linkStyle' => 'all',
],
],
],
'panels' => [
'link-settings' => [
'title' => __( 'Link Typography', 'woocommerce-views' ),
'tabs' => 'normal-hover-active',
'colorIndicators' => [
'linkStyle' => [ 'textColor' ],
],
'fields' => [
'linkStyle' => 'all',
],
],
],
'attributes' => [
'style' => [
'type' => 'object',
'fields' => [
'textColor',
],
],
'linkStyle' => [
'type' => 'object',
'fields' => [
'textColor',
'font',
'fontSize',
'fontStyle',
'fontWeight',
'textDecoration',
'lineHeight',
'letterSpacing',
'textTransform',
'textShadow',
],
],
],
];