In FCK eEditor, do the following:
1. Click on the Source button on the toolbar.
2. Copy & paste the code below into the FCKeditor, and click on Save
3. The result will be two tables with one blank line in between them.
4. Click on Save again.
5. The result will be two tables with now three blank lines in between them.
6. If you check the source, you'll see that FCKeditor has replaced the <br /> with <p><br /> </p>
How can I prevent FCKeditor from replacing <br /> with <p><br /> </p>?
When using IE, FCKeditor replaces the <br /> with <p><br /> </p>. When using FireFox, it replaces <br /> with <p> </p>.
Removing this.FixBody(); from the fckeditorcode_ie.js file solves the problem, but I don't know if this is causing me to miss out on other important functionality.
1. Click on the Source button on the toolbar.
2. Copy & paste the code below into the FCKeditor, and click on Save
<table> <tbody> <tr> <td>Table 1</td> </tr> </tbody> </table> <br /> <table> <tbody> <tr> <td>Table 2</td> </tr> </tbody> </table>
3. The result will be two tables with one blank line in between them.
4. Click on Save again.
5. The result will be two tables with now three blank lines in between them.
6. If you check the source, you'll see that FCKeditor has replaced the <br /> with <p><br /> </p>
How can I prevent FCKeditor from replacing <br /> with <p><br /> </p>?
When using IE, FCKeditor replaces the <br /> with <p><br /> </p>. When using FireFox, it replaces <br /> with <p> </p>.
Removing this.FixBody(); from the fckeditorcode_ie.js file solves the problem, but I don't know if this is causing me to miss out on other important functionality.