diff --git a/packages/block-editor/src/components/block-list/use-block-props/index.js b/packages/block-editor/src/components/block-list/use-block-props/index.js index 8568f7d63c2f5c..c8e5d6b148ed6d 100644 --- a/packages/block-editor/src/components/block-list/use-block-props/index.js +++ b/packages/block-editor/src/components/block-list/use-block-props/index.js @@ -94,9 +94,10 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) { getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD, }; }, - [ clientId ] + [ clientId , fallbackRef , index, className, wrapperProps ] ); + // translators: %s: Type of block (i.e. Text, Image etc) const blockLabel = sprintf( __( 'Block: %s' ), blockTitle ); @@ -115,7 +116,6 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) { triggerAnimationOnChange: index, } ), ] ); - return { ...wrapperProps, ...props,