Skip to content

Commit

Permalink
Remove Hero Block(#278) (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
iRohitSingh authored Nov 30, 2023
1 parent 75726a2 commit cb4a95d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/278.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove Hero Block @iRohitSingh
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ const applyConfig = (config) => {
config.settings.enableFatMenu = true;
config.settings.slate.useLinkedHeadings = false;

// Remove Hero Block
config.blocks.blocksConfig.hero.restricted = true;

// No required blocks (eg. Title)
config.blocks.requiredBlocks = [];

Expand Down

0 comments on commit cb4a95d

Please sign in to comment.