Images should not be blocks
-
A problem I am finding with image blocks and not being able to insert them into a block like a paragraph is that there is no way to access the raw HTML code for the entire page in order to wrap a div around BOTH the image block and the paragraph block to create a call box or other parent-style div.
I did resolve this on my own, but it was very cumbersome to do and not something everyone can do on their own. EVERYTHING has been difficult with this new Gutenberg. Not one thing is simple.
My solution was to write the complete HTML code and insert in a paragraph block using the edit as HTML feature it like below.
***** <p class="div-call"><a href="[page address]" target="_blank"><img src="[image address]" alt="MassSave" /></a>Visit <a rel="noreferrer noopener" href="[oage address]" target="_blank">MassSave.com rebates page</a> to learn how you can <strong>get cash back</strong> and <strong>lower your energy costs</strong> on cooling and heating products as well as appliances. For advice on your rebate selection <a href="[pageaddress]" contact us today</a>!M/p>; *****
It is such a pain when I should have just been able to insert an image in a paragraph and then add the css class to that paragraph. WHY is every single thing a major ordeal with Gutenberg. It is exhausting and setting my projects back (aka income).
My guess is that this post will be ignored like the 80% or so other support submissions.
- The topic ‘Images should not be blocks’ is closed to new replies.