why in FireFox in empty editor field in the source i see <p> or <br> depending on default "enter" or "shift+enter" value ... how to keep empty fck area field as empty without anything in the html source ?
when i manually remove in sthe source <p> or <br> then switch to html preview and then back to html source i see there again <p> or <br> ....
bug ? or some setting ?
when i manually remove in sthe source <p> or <br> then switch to html preview and then back to html source i see there again <p> or <br> ....
bug ? or some setting ?

Re: how to remove p or br in empty field ?
From my brief tests, for IE under Windows the field is truly blank (about 91% of my users)
With Firefox under Windows or OS X, you get <br type="_moz" />
In Safari under OS X, you get &ndsp;
Under Opera 9.24, it doesn't load properly, so I can't click the 'Source' button to see what's there.
All this means that its not possible (or rather, its not easy) to use JavaScript to reliably test if the field is empty, since for some browsers, it never is:
var oEditor = FCKeditorAPI.GetInstance('theBody'); var theBodyTest = oEditor.GetXHTML(true); if (theBodyTest.length==0) { alert('You need to enter something for the body of your story.'); return false; }How can we fix this, please?
Chris.
Re: how to remove p or br in empty field ?