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 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.