• Hello,
    it would be important for me, that my pictures are just like they used to be, just

    <img>
    ...
    </img>

    should be inserted.
    Now, however, Gutenberg by default makes a

    <div>
    <figure>
    <img>
    ...
    </img>
    </figure>
    </div>

    and assigns additional classes not to <img>, but to <figure>. Is there – besides inserting the image as HTML block – another possibility?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I haven’t really worked with Gutenberg because it throws in formatting & code that I don’t care for, so I don’t know if there’s a way to change that in Gutenberg itself. I simply choose to use the Classic Editor Plugin to keep things simple.

    Thread Starter dirkliesenfeld

    (@dirkliesenfeld)

    Yes I can totally understand that.
    But on the other hand I would love to work with Gutenberg, it is very nice.
    Isn’t there any way to create costum blocks to insert purer HTML? Or to hack the WordPress code to leave the crap out?

    Thread Starter dirkliesenfeld

    (@dirkliesenfeld)

    Hmm – still no way to do that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Insert images without div and figure’ is closed to new replies.