By WhiplashInfo on
When editing everything seems ok, but after submitting the article is without line- and paragraph breaks, as shown here:
http://www.forsakrad.se/d/node/6
Please, can anyone explain what have I done wrong?
Tomas
When editing everything seems ok, but after submitting the article is without line- and paragraph breaks, as shown here:
http://www.forsakrad.se/d/node/6
Please, can anyone explain what have I done wrong?
Tomas
Comments
Please read the INSTALL.TXT
You're asking this question because you don't read the INSTALL.TXT, this file described why your content loose the line and paragragh break.
I have read the INSTALL.TXT
I may be stupid, but I haven't found the answer in the INSTALL.TXT.
thenicespider - could you please pin-point to me where I find the paragraph I have missed?
i guess you're using "filtered html" and p and br are filtered.
well...i am not an expert...i am also in the process of experimenting on the capabilities of tinymce.
when tinymce generates html automatically, there are no spaces in the html.
eg.
Assuming you have the standard set-up with the filters, the "Filtered HTML" filter strips off all the p and br generated by tinymce. Second, it checks for line breaks so the filter can add its own p and br which the filter cannot find.
Even if you change the order of the filters, it's of no help because tinymce does not generate line breaks between its generated paragraphs.
Simply put...add p and br on the list of allowed html tags.
But what i did were:
well...if others have better ideas on a work-around, i am all ears!
PS. It's also wiser to preview your content first....so you can deal with the problem before publishing content :-)
Tip: go to /admin/settings/node and require previewing of nodes.
You could be right...
I will test your suggestions, but I always use preview, but the strange thing is that the preview display lies, and says that everything is OK - but in fact it isn't.
Tomas
which preview?
well...it depends on which preview you mean.....the preview button of tinymce will not show the effects of the filters you set in the filter module.... the preview button under the textarea will. :-)
if you set the preview to be required at /admin/settings/node then you don't have a choice but to preview content before publishing it.
ha en fin helg!
TinyMCE removes linebreaks only on preview and only on IE
Any ideas?
On FF/Mac OS X, both preview and post work fine.
On IE7, post works, but preview strips line breaks.
Any ideas?
(Yes, P and BR are OK by Filtered HTML.