Skip to content

Commit 000cd63

Browse files
Do not show list tab for section blocks
1 parent f9cd1c4 commit 000cd63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-editor/src/components/inspector-controls-tabs/use-inspector-controls-tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function useInspectorControlsTabs(
8787

8888
// Add the tabs in the order that they will default to if available.
8989
// List View > Content > Settings > Styles.
90-
if ( hasListFills ) {
90+
if ( hasListFills && ! isSectionBlock ) {
9191
tabs.push( TAB_LIST_VIEW );
9292
}
9393

0 commit comments

Comments
 (0)