Hi, I'm new to fckeditor, but it seems like a fantastic component. I'm integrating multiple edit fields into a newletter module.
If I insert a table into the text, it is preceded by multiple line breaks. Looking at the source, I see that each <tr> and <td> has a <br /> tag after, and because they are 'outside' of the table structure they are showing up before the table is rendered.
This can't be intentional? How do we go about taking out the breaks?
If I insert a table into the text, it is preceded by multiple line breaks. Looking at the source, I see that each <tr> and <td> has a <br /> tag after, and because they are 'outside' of the table structure they are showing up before the table is rendered.
This can't be intentional? How do we go about taking out the breaks?
RE: bug - line breaks on table insert
RE: *NOT* bug - line breaks on table insert
In order to display line breaks in the final output, I'm using the php function nl2br and it is that which is inserting breaks into the table code.
Paragraph breaks are preserved in the fckeditor, but are not displayed in the final output (html newsletter) if I take out the nl2br function - how can I preserve line breaks from fckeditor to output? Any hints?
RE: bug - line breaks on table insert