Whatever message this page gives is out now! Go check it out!

ColdFusion.RichText.onComplete

Last update:
May 18, 2026

Description

When a rich text editor instance completes initializing, ColdFusion calls this function and passes it the FCKEditor instance that underlies the rich text editor.

Function syntax

ColdFusion.RichText.onComplete(editorInstance)

See also

History

ColdFusion 8 update 1: Added this function

Parameters

Parameter
Description
editorInstance
the FCKEditor instance that underlies the rich text editor.

Returns

This function does not return a value.

Usage

When a rich text editor instance completes initializing, ColdFusion calls this function and passes it the FCKEditor instance that underlies the rich text editor. The function can then perform any needed post-initialization operations.

Examples

<html> 
 <head> 
 <script type="text/javascript"> 
 //User defines this function to get control once the rich text editor 
 //is done with its initialization 
 ColdFusion.RichText.OnComplete = function(editorInstance) 
 { 
 alert("on complete called"); 
 alert("editor instance = " + editorInstance)); 
 } 
 </script> 
 </head> 
 <body> 
 <cfform> 
 <cftextarea richtext = true name="richtext1"> 
 </cfform> 
 </body> 
 </html>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page