Skip to content

Commit

Permalink
Site Editor: Hide the block appender in the Template Part editor (#37213
Browse files Browse the repository at this point in the history
)
  • Loading branch information
noisysocks authored Dec 8, 2021
1 parent 8aa8230 commit 7541356
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/edit-site/src/components/block-editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export default function BlockEditor( { setIsInserterOpen } ) {
<BlockList
className="edit-site-block-editor__block-list wp-site-blocks"
__experimentalLayout={ LAYOUT }
renderAppender={ isTemplatePart ? false : undefined }
/>
</ResizableEditor>

Expand Down

0 comments on commit 7541356

Please sign in to comment.