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;
No one has a solution to this?
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;
Thanks for your reply cute angel,
I tried changing your suggestion, and voila!!! Problem solved!!
Thanks you so much, you're a life saver
Merry X-mas !!!
Re: Leaving the field empty results in &nbsp;
Very Good ..keep it up
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;
I compared my files with yours...
I made the changes in these files already for you (make backup of your old ones, just in case!) and added a file that describes the changes I made to your files....
Hopefully this will help
Keep me posted.
Attachments:
Re: Leaving the field empty results in &nbsp;
huray, thanks for the Help!
just for all others with the same issue:
in
(Line 48)
in google chrome (actually its the iron browser http://www.srware.net/en/software_srwar ... wnload.php )i still get a
anyway thanks a lot!
Re: Leaving the field empty results in &nbsp;
glad it worked out for you...
Actually for G, you can also leave: <type="_moz"> out