Skip to content

Commit

Permalink
Make hover block outlines not present in Distraction Free (#63819)
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor authored Jul 23, 2024
1 parent fe0dcf4 commit dd31d29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {
__experimentalUndo: undo,
// Check whether we want all site editor frames to have outlines
// including the navigation / pattern / parts editors.
outlineMode: postType === 'wp_template',
outlineMode: ! isDistractionFree && postType === 'wp_template',
// Check these two properties: they were not present in the site editor.
__experimentalCreatePageEntity: createPageEntity,
__experimentalUserCanCreatePages: userCanCreatePages,
Expand Down

0 comments on commit dd31d29

Please sign in to comment.