Skip to content

Commit f15ef35

Browse files
author
bfintal@gmail.com
committed
fix (block renaming): removed since this is the default behavior
1 parent b29428d commit f15ef35

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/blocks.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ const importAllAndRegister = r => {
4545
settings.keywords = settings.keywords.map( keyword => __( keyword, i18n ) ) // eslint-disable-line @wordpress/i18n-no-variables
4646
}
4747

48-
// Allow renaming of all blocks.
49-
settings.supports = settings.supports || {}
50-
settings.supports.renaming = true
51-
5248
// Register the block.
5349
if ( ! getBlockType( name ) ) {
5450
registerBlockType( name, settings )

0 commit comments

Comments
 (0)