Skip to content

Commit

Permalink
rename blocks for better discoverability
Browse files Browse the repository at this point in the history
  • Loading branch information
tschortsch committed May 24, 2022
1 parent 93eac53 commit ae5665f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '2a125809b525a250b9ebef8d56322b37');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '880a7b58237fe7651d7b3ff82836e11b');
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/button/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import './editor.scss';

registerBlockType( 'wp-bootstrap-blocks/button', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Button', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Button (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: button,
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/column/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp

registerBlockType( 'wp-bootstrap-blocks/column', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Column', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Column (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: column, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/container/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp

registerBlockType( 'wp-bootstrap-blocks/container', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Container', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Container (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: stack,
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/row/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp

registerBlockType( 'wp-bootstrap-blocks/row', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Row', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Row (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: columns, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down

0 comments on commit ae5665f

Please sign in to comment.