array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'dynamiques-blocks/interview', 'version' => '0.1.0', 'title' => 'Interview', 'category' => 'dynamiques-blocks', 'icon' => 'smiley', 'description' => 'Bloc de mise en forme d\'interview', 'example' => array( ), 'supports' => array( 'html' => false ), 'textdomain' => 'dynamiques-blocks', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', 'attributes' => array( 'interviewedPersonName' => array( 'type' => 'string', 'default' => 'Jean Dupont' ), 'interviewName' => array( 'type' => 'string', 'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' ) ), 'providesContext' => array( 'dynamiques-blocks/interviewedPersonName' => 'interviewedPersonName' ) ), 'interview-answer' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'dynamiques-blocks/interview-answer', 'version' => '0.1.0', 'title' => 'Réponse', 'category' => 'widgets', 'icon' => 'smiley', 'description' => 'Bloc de réponse d\'interview', 'example' => array( ), 'parent' => array( 'dynamiques-blocks/interview' ), 'supports' => array( 'html' => false ), 'textdomain' => 'interview-answer', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'render' => 'file:./render.php', 'attributes' => array( 'content' => array( 'type' => 'string', 'default' => '' ) ), 'usesContext' => array( 'dynamiques-blocks/interviewedPersonName' ) ), 'interview-question' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'dynamiques-blocks/interview-question', 'version' => '0.1.0', 'title' => 'Question', 'category' => 'widgets', 'icon' => 'smiley', 'description' => 'Bloc de question d\'interview', 'example' => array( ), 'parent' => array( 'dynamiques-blocks/interview' ), 'supports' => array( 'html' => false ), 'textdomain' => 'interview-question', 'editorScript' => 'file:./index.js', 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'attributes' => array( 'content' => array( 'type' => 'string', 'default' => '' ) ) ) );