Ticket #875 (closed New Feature: wontfix)

Opened 8 years ago

Last modified 5 years ago

Make editor detectable on server side

Reported by: guitarking117@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF HasPatch Cc:

Description (last modified by martinkou) (diff)

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\"
>" ;


$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


and setting the y/n flagaccordingly.

Just an idea.


Change History

comment:1 Changed 8 years ago by martinkou

  • Description modified (diff)
  • Reporter changed from martinkou to guitarking117@…

comment:2 Changed 8 years ago by martinkou

  • Description modified (diff)

comment:3 Changed 7 years ago by w.olchawa

  • Keywords HasPatch added

comment:4 Changed 5 years ago by wwalc

  • Status changed from new to closed
  • Resolution set to wontfix

I haven't seen any similar feature requests + FCKeditor is no longer maintained.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy