When I leave the field empty, it results in " " in the field. How can I prevent this, as I must have it completely empty on submit, when nothing is typed.
It first was <br /> but have replaced this in fckeditorcode_gecko.js by removing the <br /> and replacing it with "".
(not sure what var it was anymore in this file)
Any ideas?
It first was <br /> but have replaced this in fckeditorcode_gecko.js by removing the <br /> and replacing it with "".
(not sure what var it was anymore in this file)
Any ideas?

Re: Leaving the field empty results in &nbsp;
Re: Leaving the field empty results in &nbsp;
if (FCKBrowserInfo.IsGecko&&(I.length==0||FCKRegexLib.EmptyParagraph.test(I))) I='<br type="_moz">';
I already had set i="" as mentioned.
Godd news: the space is gone, but nor <br /> shows up....
C'mon... anyone? It should be not that hard to keep this field empty when nothing is entered?
Re: Leaving the field empty results in &nbsp;
Still, it should be good on both, so anyone?
Re: Leaving the field empty results in &nbsp;
FCKConfig.FillEmptyBlocks = false;
this will solve problem.
Re: Leaving the field empty results in &nbsp;
Re: Leaving the field empty results in &nbsp;
Re: Leaving the field empty results in &nbsp;
i get a <br /> instead of a
(ff3 / google chrome)
did i miss something?
I need a complete empty textarea if nothing is entered is this possible with fck editor?
Re: Leaving the field empty results in &nbsp;
As mentioned above, I have made the changes in the file: fckeditorcode_gecko.js and in the file fckconfig.js
(see changes I made above)....
This worked for me... I'm not 100% sure if those are all the changes I made to it, but if you want, I could compare my files with yours to see....
I know it can drive you nuts, to not have it empty....
Re: Leaving the field empty results in &nbsp;
that would be great!
Here are my both files, i did not made any modifications to the fckeditorcode_gecko.js, so i guess its the <br /> in there, but i don´t know wich one.
Attachments:
Re: Leaving the field empty results in &nbsp;
Attachments:
Re: Leaving the field empty results in &nbsp;
http://www.srware.net/en/software_srwar ... wnload.php
Re: Leaving the field empty results in &nbsp;