I posted this in another topic, but afterward thought it should have its own thread.
FCK Editor replaces any occurrence of ...
<BR>
<BR/>
<BR clear="all">
etc
... with this P tag combo...
<p> </p>
It appears the replacement is happening on the read, not on the write. We can change the html to include the BR tag and it will go into the database, but upon retrieving the html to edit, FCK will replace all BR tags with the P. I cannot find any setting in the js file to change this behavior.
FCK Editor replaces any occurrence of ...
<BR>
<BR/>
<BR clear="all">
etc
... with this P tag combo...
<p> </p>
It appears the replacement is happening on the read, not on the write. We can change the html to include the BR tag and it will go into the database, but upon retrieving the html to edit, FCK will replace all BR tags with the P. I cannot find any setting in the js file to change this behavior.
Re: FCK replaces BR with P tag?
Change the FCKConfig.EnterMode = 'p'; setting to FCKConfig.EnterMode = 'br' ;
OR put your code in a <p> tag, ie.
That solves the problem.
Just a personal preference, style="clear: both" instead of <br clear="all">?
Re: FCK replaces BR with P tag?