Skip to content

Commit

Permalink
Update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Nov 15, 2023
1 parent e144126 commit 11376a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/inner-blocks/index.js
Expand Up @@ -172,7 +172,7 @@ export function useInnerBlocksProps( props = {}, options = {} ) {
const {
__unstableDisableLayoutClassNames,
__unstableDisableDropZone,
__unstableContentRef,
dropZoneElement,
} = options;
const {
clientId,
Expand Down Expand Up @@ -214,7 +214,7 @@ export function useInnerBlocksProps( props = {}, options = {} ) {
);

const blockDropZoneRef = useBlockDropZone( {
dropZoneElement: __unstableContentRef?.current,
dropZoneElement,
rootClientId: clientId,
} );

Expand Down
2 changes: 1 addition & 1 deletion packages/edit-post/src/components/visual-editor/index.js
Expand Up @@ -411,7 +411,7 @@ export default function VisualEditor( { styles } ) {
: `${ blockListLayoutClass } wp-block-post-content` // Ensure root level blocks receive default/flow blockGap styling rules.
}
layout={ blockListLayout }
__unstableContentRef={ ref }
dropZoneElement={ ref?.current }
/>
</RecursionProvider>
</BlockCanvas>
Expand Down

0 comments on commit 11376a9

Please sign in to comment.