Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Aug 5, 2024
1 parent 7856402 commit c85a43f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ export default function useBlockDropZone( {
const [ targetIndex, operation, nearestSide ] =
dropTargetPosition;

// Checks if it is creatable either a Row variation or a Gallery block from
// the dragged block and the target block.
if ( operation === 'group' ) {
const targetBlock = blocks[ targetIndex ];
const areAllImages = [
Expand Down

0 comments on commit c85a43f

Please sign in to comment.