Skip to content

Commit

Permalink
Remove CSS Class and anchor support on navigation screen
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Sep 18, 2020
1 parent 899e406 commit 6834c5c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/edit-navigation/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,15 @@ function removeNavigationBlockSettingsUnsupportedFeatures( settings, name ) {

return {
...settings,
supports: omit( settings.supports, [
'__experimentalColor',
'__experimentalFontSize',
] ),
supports: {
...omit( settings.supports, [
'anchor',
'customClassName',
'__experimentalColor',
'__experimentalFontSize',
] ),
customClassName: false,
},
};
}

Expand Down

0 comments on commit 6834c5c

Please sign in to comment.