Jump to content

what type of text field supports line breaks?


Alex
 Share

Recommended Posts

A quick question,

what type of text field supports line breaks?

I have a navigation list, I want to be able to break the text onto a second line where I choose.

I have been using a textarea field then changing the Inputfield Type to TinyMCE. Is there a better way where I don't get all the tinyMCE formatting options?

thanks

Alex

Link to comment
Share on other sites

Diogo is right. There is also textformatter for nl2br, so just use regular textarea and edit it details page and add "Newlines to XHTML line breaks" textformatter. You probably need to install the required module first: Newlines to XHTML Line Breaks

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...