44 lines
958 B
PHP
44 lines
958 B
PHP
<?php
|
|
// This file is generated. Do not modify it manually.
|
|
return array(
|
|
'cta' => array(
|
|
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
|
'apiVersion' => 3,
|
|
'name' => 'carhop-blocks/cta',
|
|
'version' => '0.1.0',
|
|
'title' => 'Cta',
|
|
'category' => 'carhop-blocks',
|
|
'icon' => 'smiley',
|
|
'description' => 'Un bouton de lien',
|
|
'example' => array(
|
|
|
|
),
|
|
'supports' => array(
|
|
'html' => false
|
|
),
|
|
'textdomain' => 'carhop-blocks',
|
|
'editorScript' => 'file:./index.js',
|
|
'editorStyle' => 'file:./index.css',
|
|
'style' => 'file:./style-index.css',
|
|
'viewScript' => 'file:./view.js',
|
|
'render' => 'file:./render.php',
|
|
'attributes' => array(
|
|
'text' => array(
|
|
'type' => 'string',
|
|
'default' => 'Call to action'
|
|
),
|
|
'link' => array(
|
|
'type' => 'object'
|
|
),
|
|
'align' => array(
|
|
'type' => 'string',
|
|
'default' => 'left'
|
|
),
|
|
'color' => array(
|
|
'type' => 'string',
|
|
'default' => null
|
|
)
|
|
)
|
|
)
|
|
);
|