I would try using the new version of CK editor and not use the
richtext="true" attribute. IIRC the older versions of FCK editor used an
iframe. I am not sure if the version of CF you are using does the same
thing. The new version of CK editor is less obtrusive and uses a plain text
area field like so.

<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>

<textarea name="editor1"></textarea>
            <script type="text/javascript">
                CKEDITOR.replace( 'editor1' );
            </script>

With JS being as fickle as it is I would image that there would be less of a
chance that you would run into problems using the newer version.

This is all speculation, but that would be the first thing that I would try

HTH
G!


On Mon, Apr 26, 2010 at 2:27 PM, Stephens, Larry V <[email protected]>wrote:

>
> I'm using FCKEditor for a textarea-type input of a text field. I want the
> versatility of the editor but need to limit the length of the resulting
> input.
>
> As a convenience to users I want to show how much space (characters) they
> have left and I'm using a javascript function that relies of onKeyDown to
> call the function. (The function is available on a public site.)
>
> <cftextarea name="ShortTitleDescrip" richtext="true" height="200"
> width="600" maxlength="150" message="You are limited to 150 characters in
> the description." onKeyDown="textCounter(this,'remLen2',150);"
> onKeyUp="textCounter(this,'remLen2',150);">
>
> The problem is, when the FCKEditor is called onKeyDown no longer fires. Any
> suggestions on a workaround?
>



-- 
Gerald Guido
http://www.myinternetisbroken.com

"Wait. We can't stop here. This is bat country."
-- HST


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333126
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to