we have a collection of static blocks and we want to insert one of our statick blocks inside the PHP code of a different dynamic block but so far we didnt manage to do it:
Lets say the static block si called "create-block/claim-text"
<?php
function html_our() {
$html = '<div class="container">';
/*this is where the static block "create-block/claim-text" goes*/
$html .= '</div">';
}
?>
create-block/claim-text
isn't a block I've seen and there are no examples, would it make sense to substitute it for a paragraph block? Server rendered blocks can't have child blocks, regardless of wether they're server rendered or not.html_our
is also missing a huge amount of code and makes no sense as a functioncreate-block/claim-text
is a regular JSX gutenberg block. It could be substituted for a paragraph block, but we dont even know how to do that. I didnt know server rendered blocks couldnt have child blocks, my bad. And yes, html_our doesnt make much sense, i just cut a lot of the original code just to make a quick example. Thank you.