Will the FAQ block accept more HTML formatting soon?
-
Hi,
I’ve noticed that if I try to set up a list in an answer, using the Yoast FAQ block, it is not possible – at least not without switching to the code editor. But then, if I do that, and go back to visual editor, I get this message saying that the block has invalid content: https://cloudup.com/c3o-N0o-Cd3
If I click to resolve, then click to convert to blocks, it will switch the whole block to HTML. It can not be reverted back to the FAQ block, unless I click on the block editor’s ‘back’ or ‘undo’ button twice. Then I get the old content without my HTML changes.
I also noticed there is no way to make content bold or italics, add a hyperlink, etc. If I paste content with italics or a hyperlink, it is maintained in the block’s formatting. The formatted lists pasted into the block become paragraphs separated by br tags, however.
Inserting a shortcode causes the shortcode characters to end up in the schema markup for the question, which doesn’t make for nice readability on the SERPs, though it does validate.
My question is:
Will the Yoast FAQ block eventually allow for more HTML formatting, or other WP inputs, like shortcodes?
At first I saw that the initial answer inputted into the block creates a paragraph tag with a special class. I wondered if this meant that answers could only have one paragraph, and perhaps this was the reason for creating the breaks and removing certain HTML elements when pasting in an answer.
However, it seems like, according to the following sample markup from Google, HTML lists are allowed in the json+ld markup?
This is also confirmed explicitly here: https://developers.google.com/search/docs/data-types/faqpage
I understand that the SERPs may only show the first paragraph (if that), when showing the FAQ rich result. However, for page formatting, for site visitors, I find it is really necessary to have these HTML elements. For example, including lists makes it much easier to read an answer’s points. It also is semantic HTML markup.
But this seems impossible to set up with the Yoast SEO block, without losing the ability to edit the answers in the same block editing format later.
I also had trouble entering images in answers, in any spot. I see that one single image can be added at the end of an FAQ answer, which I imagine is for the structured data output? But, formatting-wise, if I wanted my page to look a certain way, with an image say, to the left of the first paragraph, or second paragraph, I can’t do that in the FAQ block (unless I couldn’t figure it out?).
So right now, it seems like the FAQ block is mostly set up for generalized questions with one paragraph answers and no formatting needs?
Do you think this can, or will improve in the future? Such as getting Tiny MCE in there, or something to allow for more HTML tags? Or is there a restriction in doing that from a logical standpoint, like if it would create problems in the json+ld output?
Thanks!
- The topic ‘Will the FAQ block accept more HTML formatting soon?’ is closed to new replies.