53 lines
1.1 KiB
PHP
53 lines
1.1 KiB
PHP
<?php
|
|
// This file is generated. Do not modify it manually.
|
|
return array(
|
|
'build' => array(
|
|
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
|
'apiVersion' => 3,
|
|
'name' => 'carhop-blocks/narrative-card',
|
|
'version' => '0.1.0',
|
|
'title' => 'Carte narrative',
|
|
'category' => 'carhop-blocks',
|
|
'icon' => 'smiley',
|
|
'description' => 'Une carte narrative',
|
|
'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',
|
|
'attributes' => array(
|
|
'hasCover' => array(
|
|
'type' => 'boolean',
|
|
'default' => true
|
|
),
|
|
'coverPosition' => array(
|
|
'type' => 'string',
|
|
'default' => 'right',
|
|
'enum' => array(
|
|
'left',
|
|
'right'
|
|
)
|
|
),
|
|
'coverId' => array(
|
|
'type' => 'number'
|
|
),
|
|
'coverUrl' => array(
|
|
'type' => 'string'
|
|
),
|
|
'coverAlt' => array(
|
|
'type' => 'string'
|
|
),
|
|
'blackWhiteCoverFilter' => array(
|
|
'type' => 'boolean',
|
|
'default' => true
|
|
)
|
|
)
|
|
)
|
|
);
|