From d210e5dbc77d97195a2d7105e8fd4418fa7cdb6b Mon Sep 17 00:00:00 2001 From: Akanshu Singh Date: Fri, 17 Jan 2025 11:58:16 +0530 Subject: [PATCH] refactor: Adds display: inline-block to list item for richtext div in editor --- packages/block-library/src/list-item/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/list-item/edit.js b/packages/block-library/src/list-item/edit.js index 8c5fa7bdc7bf6..2c9f897d66552 100644 --- a/packages/block-library/src/list-item/edit.js +++ b/packages/block-library/src/list-item/edit.js @@ -97,6 +97,7 @@ export default function ListItemEdit( { aria-label={ __( 'List text' ) } placeholder={ placeholder || __( 'List' ) } onMerge={ onMerge } + style={ { display: 'inline-block' } } /> { innerBlocksProps.children }