4

I have a rich text field that I don't want wrapped in anything.

I just want a text area field, but I'm not sure how to get a text area without making it rich text, as the only multiline text field is the rich text field.

If it is going to be rich text, I need to be able to remove wrapping tags and control those.

5

If what you want is a multi-line plain text field, then check the Allow line breaks checkbox for that field.

|improve this answer|||||
  • Does a plain text field wrap your text only? Because it doesn't seem to generate <br> tags. – Tom De Smet May 26 '15 at 9:29
  • You will want to use twig's nl2br filter to change the newlines (in the text field) to <br> tags – Marion Newlevant Apr 8 '19 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.