Wordpress-seo: New FAQ block text format

Created on 17 Sep 2018  路  19Comments  路  Source: Yoast/wordpress-seo

  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

Using the new FAQ block and trying to give some format to the answer, I tried "pre", "ul/li" and "p" and it was not possible. After "editing in html" wordpress ask me convert to block because it was modified and remove all these changes.

Please describe what you expected to happen and why.

Would be nice having an option to add some basic format to the answers.

  • Enter insert a "br" instead a new paragraph "p". Would be nice have more than one paragraph for answers.
  • Lists "ul/li" and "pre" should be allowed.

How can we reproduce this behavior?

  1. Add a new FAQ Block (yoast).
  2. Edit as HTML and try to add a "pre" formating.
  3. Come back to edit visually.
  4. WP will ask you to convert to block, after that, the new "pre" tags added will be removed.

Technical info

  • WordPress version: 4.9.8
  • Yoast SEO version: 8.2

  • If relevant, which editor is affected (or editors):

  • [ ] Classic Editor
  • [x] Gutenberg
  • [ ] Classic Editor plugin


* Which browser is affected (or browsers):
- [ ] IE11
- [ ] Edge
- [ ] Chrome
- [x] Firefox
- [ ] Safari

  • Relevant plugins in case of a bug:
  • Tested with theme:
    Genesis Framework
gutenberg gutenblocks needs-decision feature request

Most helpful comment

The UL/OL/LI tags are especially important when it comes to giving clear short-form answers to questions.

All 19 comments

Thank you for reporting this issue. We'll discuss this enhancement internally to see if it is something we can and will add.

This suggestion also aligns with Google's recommendations:

The full answer to the question. The answer may contain HTML content such as links and lists. Valid HTML tags include: <h1> through <h6>, <br>, <ol>, <ul>, <li>, <a>, <p>, <div>, <b>, <strong>, <i>, and <em>.

Being able to use lists in the Answer field would be really useful.

Please inform the customer of conversation # 541800 when this conversation has been closed.

Please inform the customer of conversation # 542502 when this conversation has been closed.

Also, each question should contain an individual "id" for better linking.
<h3 id="first-question">

Please inform the customer of conversation # 556923 when this conversation has been closed.

Has there been any progress with adding support for the ul, ol and li tags in the How To and FAQ blocks?

This has no priority at the moment, as far as I know.

Please inform the customer of conversation #616555 when this conversation has been closed.

Request to replace the <strong> tag with `a <div>

The UL/OL/LI tags are especially important when it comes to giving clear short-form answers to questions.

I need at least LISTS there too.

+1 for ul / ol / li

+1

It would be already sufficient, if the block does not collapse, if you insert a list via the HTML editor.

+1 for ul / ol / li

+1 - this block is necessary for well-built sites that contain an FAQ, but the lack of at least a ul option is pretty limiting.

Please inform the customer of conversation # 674678 when this conversation has been closed.

Please inform the customer of conversation # 668719 when this conversation has been closed.

I will close this issue since I stopped using Yoast and also I built my own FAQ block and this issue is now solved for me. After more than 2 years open seems like it's not a priority here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adrianleira picture adrianleira  路  6Comments

Pcosta88 picture Pcosta88  路  6Comments

cristopherrosenberg picture cristopherrosenberg  路  3Comments

shanejones picture shanejones  路  5Comments

schurig picture schurig  路  5Comments