Skip to content

Commit

Permalink
Remove allowedBlocks prop for column
Browse files Browse the repository at this point in the history
  • Loading branch information
JesserH committed Jan 18, 2021
1 parent c205d34 commit 7f9d656
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/block-library/src/column/block.json
Expand Up @@ -12,9 +12,6 @@
"width": {
"type": "string"
},
"allowedBlocks": {
"type": "array"
},
"templateLock": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/block-library/src/column/edit.js
Expand Up @@ -31,7 +31,6 @@ function ColumnEdit( {
verticalAlignment,
width,
templateLock = false,
allowedBlocks,
},
setAttributes,
clientId,
Expand Down Expand Up @@ -72,7 +71,6 @@ function ColumnEdit( {
} );
const innerBlocksProps = useInnerBlocksProps( blockProps, {
templateLock,
allowedBlocks,
renderAppender: hasChildBlocks
? undefined
: InnerBlocks.ButtonBlockAppender,
Expand Down

0 comments on commit 7f9d656

Please sign in to comment.