Skip to content

Commit

Permalink
Update more instances of reusable-blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias committed Feb 24, 2018
1 parent 72d6822 commit 0908aa9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blocks/library/block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const name = 'core/block';

export const settings = {
title: __( 'Reusable Block' ),
category: 'reusable-blocks',
category: 'saved',
isPrivate: true,

attributes: {
Expand Down
2 changes: 1 addition & 1 deletion editor/components/inserter/test/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const reusableItem = {
name: 'core/block',
initialAttributes: { ref: 123 },
title: 'My reusable block',
category: 'reusable-blocks',
category: 'saved',
isDisabled: false,
};

Expand Down
2 changes: 1 addition & 1 deletion editor/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ function buildInserterItemFromReusableBlock( enabledBlockTypes, reusableBlock )
initialAttributes: { ref: reusableBlock.id },
title: reusableBlock.title,
icon: referencedBlockType.icon,
category: 'reusable-blocks',
category: 'saved',
keywords: [],
isDisabled: false,
};
Expand Down
2 changes: 1 addition & 1 deletion editor/store/test/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2496,7 +2496,7 @@ describe( 'selectors', () => {
initialAttributes: { ref: 123 },
title: 'My reusable block',
icon: 'test',
category: 'reusable-blocks',
category: 'saved',
keywords: [],
isDisabled: false,
},
Expand Down

0 comments on commit 0908aa9

Please sign in to comment.