ColdFusion.RichText.onComplete

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

ColdFusion.ProgressBar.updateColdFusion.ProgressBar.reset

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>

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online