{
- setLastInsertedBlock( null );
- } }
- hasCreateSuggestion={ false }
- onChange={ ( updatedValue ) => {
- updateAttributes(
- updatedValue,
- setInsertedBlockAttributes(
- lastInsertedBlock?.clientId
- ),
- lastInsertedBlock?.attributes
- );
- setLastInsertedBlock( null );
- } }
- onCancel={ () => {
- setLastInsertedBlock( null );
- } }
- />
- )
- );
- };
-
return (
{ clientIdsTree.length === 0 && (
@@ -135,7 +128,7 @@ const MainContent = ( {
description={ description }
showAppender
blockSettingsMenu={ LeafMoreMenu }
- renderAdditionalBlockUI={ renderLinkUI }
+ additionalBlockContent={ AdditionalBlockContent }
/>
);