carhop__plugins__PROD-DEV/plugins/carhop-blocks/blocks/narrative-card/build/blocks-manifest.php
Antoine M 2659311e7a
All checks were successful
continuous-integration/drone/push Build is passing
FEATURE Handling a black and white version
2025-10-14 10:31:00 +02:00

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
)
)
)
);