Hello,
So as already mentioned in my earlier topic, I have earned a website. To maintain simple things of the website the FCKeditor is used so that the customer can maintain simple text issue's.
The php pages are read by the FCKeditor and that works fine. But the problem is there are empty cells used to show a line with css like : border-top: 1px..... etc. That works fine. But when the php page is opened with the FCKeditor the cell is filled with and so with saving as well which result in a little change of the layout.
So before opening in the FCKeditor it's like:
After reading the file in the FCKeditor, and thus saving it is changed as:
Nico
So as already mentioned in my earlier topic, I have earned a website. To maintain simple things of the website the FCKeditor is used so that the customer can maintain simple text issue's.
The php pages are read by the FCKeditor and that works fine. But the problem is there are empty cells used to show a line with css like : border-top: 1px..... etc. That works fine. But when the php page is opened with the FCKeditor the cell is filled with and so with saving as well which result in a little change of the layout.
So before opening in the FCKeditor it's like:
<tr> <td></td> </tr>
After reading the file in the FCKeditor, and thus saving it is changed as:
<tr> <td> </td> </tr>
Nico
Re: Why is the FCKeditor adding '&nbsp;' to empty cells
just insert comment inside the cell
<td class="border-top"><!--asdf--></td>
Re: Why is the FCKeditor adding '&nbsp;' to empty cells
The workaround you suggest works and it stops ckeditor inserting a in blank cells but
it still displays as though has been added. So in the wysiwyg editor you see the additional space but in the code its not there ? (if that makes sense)
Not really a workaround as everytime someone designs a new page they have to remember to insert
comments in emtpy cells ? Surely there must be a way to turn this functionality off ?