Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Migrate core/list to .children
  • Loading branch information
jsnajdr committed Jan 29, 2024
commit e71df6c0ef3f558e785cb0ebb2f72be7f6461ec5
1 change: 1 addition & 0 deletions packages/block-library/src/list/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "core/list",
"title": "List",
"category": "text",
"children": [ "core/list-item" ],
"description": "Create a bulleted or numbered list.",
"keywords": [ "bullet list", "ordered list", "numbered list" ],
"textdomain": "default",
Expand Down
1 change: 0 additions & 1 deletion packages/block-library/src/list/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export default function Edit( { attributes, setAttributes, clientId, style } ) {
} );

const innerBlocksProps = useInnerBlocksProps( blockProps, {
allowedBlocks: [ 'core/list-item' ],
template: TEMPLATE,
templateLock: false,
templateInsertUpdatesSelection: true,
Expand Down