Support » Plugin: Gutenberg » Image in a list is it possible ?

  • Resolved Andry Proust

    (@yrdna)


    Hello,
    With gutenberg, how can one make an unordered list with images and text. Like the code below.

    <ul>
    	<li><img src="image1.png">image 1</li>
    	<li><img src="image2.png">image 2</li>
    	<li><img src="image3.png">image 3</li>
    </ul>
    

    I tested the plugin and I did not succeed at all. This may not be possible at the moment?

Viewing 5 replies - 1 through 5 (of 5 total)
  • crstnio

    (@crstnio)

    Works at my end. Notice the full path.

    <!-- wp:list -->
    <ul>
        <li>List 1</li>
        <li>List 2<img src="http://example.com/wp-content/uploads/2018/01/img.png" /></li>
    </ul>
    <!-- /wp:list -->

    But this forum is not for issues. Please open the issue on GitHub.

    My code is an example to illustrate, in HTML code mode, we are ok, putting an image in a list is possible. In gutenberg block wyswyg mode this is not possible, the list block does not display a media button.

    Ketan Umretiya

    (@ketanumretiya030)

    Yes you can add image in ul li is working.

    Only with code editor it’s ok ! with Gutenberg block wysywyg it’s not possible integrate img under li ?? … We hope that it will come

    Now the support for inline image is ready with wysiwyg, great!

    What’s New in Gutenberg? (6th July)

    • This reply was modified 1 year, 7 months ago by Andry Proust.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image in a list is it possible ?’ is closed to new replies.