• Paragraph breaks are not preserved when I use the shortcode with style=”accordion” and a group filter. (Paragraphs ARE preserved if I don’t specify the filter.

    Here’s the shortcode:

    [faqs style="accordion" filter="membership"] 

    Is this normal? Is there a way to fix this? Does this sound like a plugin conflict?

    • This topic was modified 1 year, 10 months ago by Jeff Cohan.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Jeff Cohan

    (@jdcohan)

    Odd. I added 6 faqs, and only 1 of the six manifests this problem.

    ?

    Thread Starter Jeff Cohan

    (@jdcohan)

    Ok. Another update:

    This problem affects only the FIRST FAQ on the page, and only on a page where I have another shortcode (for TablePress). So, I think I’ve got a plugin conflict I need to resolve.

    Plugin Author Usman Ali Qureshi

    (@usmanaliqureshi)

    Hello Jeff,

    Thanks for reaching out.

    Could you please share the URL of the FAQs page so I can look into it to assist you accordingly?

    Regards

    Thread Starter Jeff Cohan

    (@jdcohan)

    Hello, Usman.

    I believe I’ve isolated the problem.

    Paragraphs are not preserved for the content of the FIRST faq that appears on any page that was created or last edited with the BLOCK editor. More specifically, the Gutenberg block comment…

    <!-- wp:shortcode -->
    [faqs style="accordion" orderby="title" order="asc"]
    <!-- /wp:shortcode -->

    …is what seems to be the cuprit.

    The problem does not exist for pages that were created/edited with the Classic editor (UNLESS they were converted from Block to Classic AND the block comments were not removed).

    Compare:

    https://nwbdev.com/test-qef-block-editor/

    https://nwbdev.com/test-qef-classic-editor/

    https://nwbdev.com/test-qef-block-editor-converted/

    All 3 use the shortcode:

    [faqs style="accordion" orderby="title" order="asc"]

    I hope this helps. Thanks for your attention.

    Plugin Author Usman Ali Qureshi

    (@usmanaliqureshi)

    Hi Jeff,

    Thank you for sharing your findings with us. I will test the functionality once again in Gutenberg, and release an update as soon as possible.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Paragraphs not preserved in accordion’ is closed to new replies.