Jump to content

Recommended Posts

Posted

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

Posted

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
Posted

Ha!! Didn't know that one :)

The module is not active by default. And there is also a Newlines to Unordered List

handy!

edit: why aren't they active by default?

  • Like 1
Posted

Thanks guys, nice to know about these little extra features.

I will play with this over the weekend.

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
  • Recently Browsing   0 members

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