Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nl1gsd

    (@nl1gsd)

    Did you take a look at https://youtu.be/6eJK1vIDZbA?feature=shared which i mentioned at the codecanyon comments page as well? Because the video shows it’s not saved, the line-breaks < br > aren’t saved afterall and when viewing the source they are missing. Just have a look at the video I posted.

    The video shows both description as well secondary description not saving line-breaks (<br>). With the WYSIWYG editor I also show the source code of the Secondary description showing it contains <br> before save, and doesn’t contain <br> when saved.

    • This reply was modified 2 years, 7 months ago by nl1gsd.
    • This reply was modified 2 years, 7 months ago by nl1gsd.
    Thread Starter nl1gsd

    (@nl1gsd)

    @ashanjay Adding a <br> in “description” will be removed as soon as it’s saved. As soon as “Organizer Secondary Description” contains a line-break <br> it will be filtered when saved as well. So it’s not beïng saved at all due to filtering. This is why a line-break isn’t showed at the front-end either.

    Added <br> by pressing the enter key a few times here and there…

    Now pressing, “SAVE”… result?

    Saved and gone are the line-breaks <br>… so the front-end will not show any line-breaks.

    Let’s try normal description instead of Organizer Secondary Description, thus… “Description”….

    <br> has been added, so now let's save and see.... but wait!!!
    
    

    That is also gone after pressing “Save”.

    So you can add as many <br> <br /> etc. line-breaks or even press the enter key as many as you want… but it’s not beïng saved as the line-breaks are filtered.

    By the way… above examples I posted are from your own developer/demo/testing WordPress site… So it isn’t only with the installation with the Free plugin or with the installation on a WordPress site a friend has, it’s even on your own WordPress site where it isn’t saved due to filtering.

    The normal description does save \n line-breaks but that does require nl2br to be added in the front-end, which means:

    includes\calendar\class-calendar-event-structure.php

    AND!!!

    includes\class-event-tax.php

    • This reply was modified 2 years, 7 months ago by nl1gsd.
    • This reply was modified 2 years, 7 months ago by nl1gsd.
Viewing 2 replies - 1 through 2 (of 2 total)