You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To solve the problem of being unable to surround multiple blocks by HTML, for instance a hyperlink anchor, add opening and closing markup tags for section blocks. It's unclear if this is the same request.
What spurred this is receiving a mobile usability warning about hyperlinks being too close together from Google Search Console. I have multiple hyperlinks to the same destination in a group of blocks.
The text was updated successfully, but these errors were encountered:
glenviewjeff
changed the title
Allow section blocks to specify open and closing HTML tags
Allow section wrapper blocks to specify open and closing HTML tags
Jun 28, 2020
@glenviewjeff Something similar was discussed on #20997, with the idea that the group block could offer more semantic variations, like section or footer. That was also explored in a pull request - #20218.
I don't think it'd work for your use case, as the group block doesn't have any link/href functionality.
#15794 also seems somewhat related, as that requests a way to wrap arbitrary HTML around blocks.
Yes, it seems we need the ability to somehow wrap HTML around blocks, however its achieved.
For now, it's ugly, but I'm able to work around this by surrounding the blocks I want hrefs applied to with custom HTML blocks, but when I return to edit the page, Gutenberg complains that "this block contains unexpected or invalid content" because the tags aren't closed. I think that's what #15794 is referring to?
To solve the problem of being unable to surround multiple blocks by HTML, for instance a hyperlink anchor, add opening and closing markup tags for section blocks. It's unclear if this is the same request.
What spurred this is receiving a mobile usability warning about hyperlinks being too close together from Google Search Console. I have multiple hyperlinks to the same destination in a group of blocks.
The text was updated successfully, but these errors were encountered: