Is there any way to turn off the line-breaking part of the "Lines and paragraphs break automatically" feature? I often copy-and-paste text from sources which into drupal edit boxes and having it turn all the returns into br tags is a pain.
Most of the time, what I'd like to see is all single returns turned into a single space and all multiple returns (i.e. blank lines) turned into paragraph breaks.
---------------- Roy Smith roy@panix.com
Is there any way to turn off the line-breaking part of the "Lines and paragraphs break automatically" feature? I often copy-and-paste text from sources which into drupal edit boxes and having it turn all the returns into br tags is a pain.
Site COnfiguration--Input Formats
Click configure next to the one you want to edit. You will then see this option
On Dec 8, 2008, at 10:22 AM, Fred Jones wrote:
Is there any way to turn off the line-breaking part of the "Lines and paragraphs break automatically" feature? I often copy-and-paste text from sources which into drupal edit boxes and having it turn all the returns into br tags is a pain.
Site COnfiguration--Input Formats
Click configure next to the one you want to edit. You will then see this option
It looks like you can only turn break and paragraph filtering on and off together. What I want is to disable mapping a single return to a break, but keep mapping a double return to a new paragraph.
---------------- Roy Smith roy@panix.com
On 8 Dec 2008, at 15:11, Roy Smith wrote:
Is there any way to turn off the line-breaking part of the "Lines and paragraphs break automatically" feature? I often copy-and- paste text from sources which into drupal edit boxes and having it turn all the returns into br tags is a pain.
What I do, is make a new input format (admin/settings/filters/add) and call it Raw HTML or Full HTML - No Markdown, and I don't assign any filters to it, or just the URL filter. To make it quicker to add html tags like paragraphs and lists sometimes I use BUEditor: http://drupal.org/project/bueditor
HTH,
--
Nicolas