Not possible to insert image inside list items (<li>) #53310
Labels
[Block] Image
Affects the Image Block
[Block] List
Affects the List Block
[Type] Enhancement
A suggestion for improvement.
Description
Sometimes we might need to add image inside a list of steps.
Right now the only way to do this in Gutenberg is to split the list in 2
<ul>
and have a picture in between every time we add a picture.It'd be nice to be able to keep a single
<ul>
list and just have the image inside the<li>
item.If this is not possible on the front-end, perhaps it can be done on the back-end so we can see the fixed HTML on the resulting published post.
Step-by-step reproduction instructions
Create a list.
Try to add a picture inside one of the bulleted items.
See how the HTML breaks into two lists. And the image is left outside.
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: