Thanks Den....that gives me something to chase down.....much appreciated!!
On Mon, 2010-07-19 at 16:04 -0600, denstar wrote: > I think this will get you the underlying object: > > ColdFusion.RichText.getEditorObject('your_textarea_id'); > > (I assume the equiv of: FCKeditorAPI.GetInstance('InstanceName') ;) > > Then, check this out: > > http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/JavaScript_API > > And I remember doing something like this, long ago: > > *** > function FCKeditor_OnComplete( editorInstance ) > { > editorInstance.Events.AttachEvent( 'OnSelectionChange', DoSomething ) ; > } > > var counter = 0 ; > > function DoSomething( editorInstance ) > { > // This is a sample function that shows in the title bar the number of > times > // the "OnSelectionChange" event is called. > window.document.title = editorInstance.Name + ' : ' + ( ++counter ) ; > } > *** > That OnComplete being a special FCK function. > > The new CKEditor is way niftier. Looking at the old API brings back > memories. =) > Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335503 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm