• Resolved therodri2

    (@therodri2)


    Hi. For some reason, Easy Accordion is removing the line breaks after publishing the document. It’s hard to get proper formatting this way.

    ————-Input————–

    
    Why should you join us?
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna....
    
    More text
    

    ————-Checking on the website————–
    The first time I publish it, the website HAS the line breaks and the output is beautifully formatted. However, if I want to update the text and open the Easy Accordion plugin again, I find this:

    
    Why should you join us?
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna....
    More text
    

    Breaks are gone and if I now save it they will also be gone on the website.

    Obviously for small texts I can simply insert them again, but it’s very tedious to do with a website with a lot of text like the one I’m creating.

    I don’t know if this is to do with Easy Accordion plugin or some WordPress Global setting that I have to change but I’d love to have some assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @therodri2,

    Thanks for your query.

    After getting your query we have tested on our local the line breaks are working fine on our end. Probably you disable this line break option of Display Options Tab of your shortcode. Enable this option to get line break.

    Please let us know if it works or not.

    Thread Starter therodri2

    (@therodri2)

    Hi. Just to make sure, Line Break (wpautop/line break with paragraph in description.) is enabled

    Reproduction steps are:
    1) Insert DOUBLE line breaks
    2) Publish
    3) Now, if you open the website, DOUBLE line breaks are visible and everything works fine. Problem comes if you have to update the accordion group:
    4) Open the accordion -> edit -> you will find that DOUBLE line breaks are now gone and merged into a single line break

    Before publishing it (exaggerated so you can see)
    https://i.ibb.co/5nRcgTF/Captura-de-pantalla-2021-12-15-a-las-15-09-02.png

    After publishing it, if I reupload and line breaks are gone
    https://i.ibb.co/3F13QtX/Captura-de-pantalla-2021-12-15-a-las-15-09-18.png

    • This reply was modified 2 years, 11 months ago by therodri2. Reason: images
    • This reply was modified 2 years, 11 months ago by therodri2.
    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi,

    The double line break is not supported in the current version. We have noted in the development roadmap if it is possible and logical it will be included in the future version.

    You can use the margin-bottom of the p tag by using custom CSS like the screen.

    .ea-body p {
        margin-bottom: 15px;
    }

    Hope it will help you.

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @therodri2,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Accordion removing line breaks’ is closed to new replies.