Support » Plugin: Participants Database » break disappears in text area

  • Resolved MarionFW

    (@marionfw)


    I’ve got a text area where I regularly add short information (admin side); each line of information should appear on a new line, but all text is put in one large text block. html breaks don’t work either.

    Should I convert the field to a rich text field, or can I solve this by using specific css?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Rich text field will fix it, but line breaks are supposed to work in text-area fields.

    You can make the text-area show the line breaks by adding a custom CSS rule (in the plugin settings Custom CSS) like this:

    .text-area .textarea {
        white-space: pre-wrap;
    }

    Thanks for helping out. I added

    .textarea {
        white-space: pre-wrap;
    }

    as adding the whole code did not work.
    Looks good now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.