﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
875	Make editor detectable on server side	guitarking117@…		"One problem my company has encountered is detecting if this editor was
used. Unfortunately, not all browsers support this great editor. So,
especially when you're using it in a 450,000-member forum, you start to
hear complaints when some people's text is formatted and others' isn't.

We set a format=y/n flag in our database on each message, but we are
having ot set it to 'n' on everything because carriage returns will be
doubled if we format messages upon display that have already been
edited by the FCKeditor.

So, we made this temporary change to fckeditor.php in the function
CreateHtml():


{{{
$Html .= ""<input type=\""hidden\"" id=\""{$this->InstanceName}___Config
\"" value=\"""" . $this->GetConfigFieldString() . ""\"" style=\""display:none\""
/
>"" ;
}}}


-to-


{{{
$Html .= ""<input type=\""hidden\"" id=\""{$this->InstanceName}___Config
\"" name=\""{$this->InstanceName}___Config\"" value=\"""" . $this-
>GetConfigFieldString() . ""\"" style=\""display:none\"" />"" ;

}}}

That way, we can detect that that field was editing using the FCKeditor by

testing for 
{{{
isset($_POST['body___Config'])
}}}
 and setting the y/n flag
accordingly.

Just an idea.

Nicholas"	New Feature	new	Normal		General			SF	
