Not sure why, but no matter what, every instance of FCKeditor starts off with a which you can not get rid of even if you delete all content and code inside of it. Any ideas?
Sat, 09/27/2008 - 02:15
#1

Re:   put at the beginning of everything
I have the same problem, but I think it just affects Google Chrome. It doesn't seem to affect IE or FireFox.
Did you manage to find a fix? I couldn't find anyone else who fixed it.
Thanks
Re:   put at the beginning of everything
Re:   put at the beginning of everything
FCKConfig.FillEmptyBlocks = false;
this will solve problem.
Re:   put at the beginning of everything
Re:   put at the beginning of everything
I realize this is not a direct answer but this is the idea on how to resolve. I get the issues as well so I understand. Or better yet - useless <span> withno attributes - in my contents. ugh..
C in Sunny SD - can you believe it is 70+F today - this is crazy weather.
Re: &nbsp; put at the beginning of everything
Re: &nbsp; put at the beginning of everything
This fixed it on Firefox 3.5.7, but the problem remains on Safari (4.0.4) and Chrome - I'm guessing any webkit browser??
This is such a painful issue, as you don't even need to focus on the editor, as soon as the page load its adds in these characters - so if the editor is part of a larger form (and isn't it always?) and you open the form to edit some other attribute you unwittingly stuff up the editor content.
Re: &nbsp; put at the beginning of everything
function FCKeditor_OnComplete( editor ) { if( editor.GetHTML() == ' ' ) { jQuery( editor.EditorDocument.body ).html( '' ); } window.setTimeout( function() { if( editor.GetHTML() == '<br />' ) { editor.SetHTML( '' ); } }, 100 ); }Turboweb - Bridging the Gap between Humans and Geeks
Re: &nbsp; put at the beginning of everything