Skip to content

Commit 792c48a

Browse files
committed
rename blocks to distinguish between core blocks and bootstrap blocks
1 parent 4f8fb4f commit 792c48a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/button/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import './editor.scss';
1212

1313
registerBlockType( 'wp-bootstrap-blocks/button', {
1414
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
15-
title: __( 'Button', 'wp-bootstrap-blocks' ), // Block title.
15+
title: __( 'Bootstrap Button', 'wp-bootstrap-blocks' ), // Block title.
1616
icon: button,
1717
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
1818
keywords: [

src/column/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp
1515

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

src/container/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp
1616

1717
registerBlockType( 'wp-bootstrap-blocks/container', {
1818
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
19-
title: __( 'Container', 'wp-bootstrap-blocks' ), // Block title.
19+
title: __( 'Bootstrap Container', 'wp-bootstrap-blocks' ), // Block title.
2020
icon: stack,
2121
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
2222
keywords: [

src/row/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp
1818

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

0 commit comments

Comments
 (0)