53 lines
1.1 KiB
PHP
53 lines
1.1 KiB
PHP
<?php
|
|
// This file is generated. Do not modify it manually.
|
|
return array(
|
|
'audio-player' => array(
|
|
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
|
'apiVersion' => 3,
|
|
'name' => 'carhop-blocks/audio-player',
|
|
'version' => '0.1.0',
|
|
'title' => 'Player audio',
|
|
'category' => 'carhop-blocks',
|
|
'icon' => 'format-audio',
|
|
'description' => 'Lecteur audio pour la mise en forme d\'éléments de contenu',
|
|
'example' => array(
|
|
|
|
),
|
|
'attributes' => array(
|
|
'audioUrl' => array(
|
|
'type' => 'string',
|
|
'default' => ''
|
|
),
|
|
'audioId' => array(
|
|
'type' => 'number',
|
|
'default' => 0
|
|
),
|
|
'title' => array(
|
|
'type' => 'string',
|
|
'default' => 'Titre du bloc'
|
|
),
|
|
'description' => array(
|
|
'type' => 'string',
|
|
'default' => ''
|
|
),
|
|
'caption' => array(
|
|
'type' => 'string',
|
|
'default' => ''
|
|
)
|
|
),
|
|
'supports' => array(
|
|
'html' => false
|
|
),
|
|
'keywords' => array(
|
|
'audio',
|
|
'player',
|
|
'lecteur audio'
|
|
),
|
|
'textdomain' => 'carhop-blocks',
|
|
'editorScript' => 'file:./index.js',
|
|
'editorStyle' => 'file:./index.css',
|
|
'style' => 'file:./style-index.css',
|
|
'viewScript' => 'file:./view.js'
|
|
)
|
|
);
|