Long Text - New Line to break
Categories
Component ID
2025821
Component name
Long Text - New Line to break
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
I only needed this a million times... so let's put it in my sandbox.
This 'module' adds an extra formatter to text_long that wraps a nl2br over the output.
When you use field type 'Long text' with widget 'Text area (multiple rows)' as input, the user is able to put new lines, breaks or paragraphs in the input. In formatter called 'plain text', the new lines are not respected.
This module fixes that with an extra formatter, that can be selected on 'Manage Display'.
