Hi
Upon creating Tasks (using FCKeditor) I have noticed that the breaks are being stripped out after saving, leaving a hard to read description where there out to be clear open spaces between paragraphs and sections.
Is this something I haven't set up correctly, a bug or a feature?
T.I.A.
Comments
Comment #1
homoludens commentedwhat input format are you using when submitting, and is the problem only with tasks?
Comment #2
Anonymous (not verified) commentedThanks for getting back to me.
The site uses a default "Full html" input.
I have just tried to add a Comment to a Task with the pre-publication source code looking like this:
It rendered with only ONE single break between each line, like this:
and its post-publication source code is:
I then went back and edited a Task for which the source is:
Which looks like this after a save:
with a source code after save of:
So it does look as if it affects both Task and Comment.
The FCKEditor version is 6.x-2.0-beta1
The settings in the FCKEditor Default Profile for SHIFT and SHIFT+ENTER are a BREAK (not a paragraph).
I doubled checked that the Advanced Profile did not apply to the role I have, and re-tried adding a Comment with the same rendered result as above.
Comment #3
homoludens commentedIt is desired with full html input format. I'm having the same behavior - but for all node types (tasks, pages, stories,...).
So it is normal, but you can probably find/create some input format that satisfies your needs.
Comment #4
Anonymous (not verified) commentedThanks for the inadvertent tip. I didn't realise that HTML is meant to strip out BREAKS in particular. I certainly hadn't seen/noticed that on the other CMS I use.
As I loathe PARAGRAPHS I had just recently set the FCKeditor Default Profile on this Drupal site for an ENTER to render as a BREAK. This had not affected 'pages' that I had transfered from the old site to the new one as they were full of paragraph markers anyway - I guess thats why I thought it was a STORM issue as Task and Comments have been the only content I have had to create on the site from scratch.
So just now I set the ENTER default back (sigh) to PARAGRAPH and the formatting seems better.
Thanks again.
Comment #5
homoludens commentedMaybe you can have breaks as input, you just can not use default "Full HTML" input format. But you can change it on page admin/settings/filters and modify it at admin/settings/filters/2.
Comment #6
Anonymous (not verified) commentedThe other thing that I am wondering about is because Drupal is XHTML compliant which recognises
<br />as a break, that if I used<br>(HTML) could this be a work-around. Do<br>get stripped?Comment #7
homoludens commentedNot sure, you have to try that. But it is not important since you can just switch filtering of
<br/>off. You don't need a workaround.Comment #8
Anonymous (not verified) commentedThank you. I didn't fully understand that you had given me the solution in #5 as this was not an area or feature of Drupal that I was familiar with.
I have just gone to admin/settings/filters/2 and switched off 'line break convertor' and given it a go. It does look as if it will works now.
I appreciate your help.
Hvala lepa