id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 2566,"multiple editor instances, FCKeditorAPI.GetInstance error",Yanfu Xie,,"'''Summary:''' when i set multiple editor instances, then get the instances use FCKeditorAPI.GetInstance, it will return undefined (sometime) vista + firefox 3.01 '''Steps to replicate:''' 1.open fckeditor/_samples/html/sample02.html [[BR]] 2.edit the javascript to : {{{ var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.ReplaceTextarea() ; var oFCKeditor2 = new FCKeditor( 'FCKeditor2' ) ; oFCKeditor2.BasePath = sBasePath ; oFCKeditor2.ReplaceTextarea() ; }}} 3.edit the form code to : {{{


'+ FCKeditorAPI.GetInstance('FCKeditor1'));alert('FCKeditor2' +'=>'+ FCKeditorAPI.GetInstance('FCKeditor2'));"" />
}}} 4.run the sample in firefox 3.01 , click the ""Get"" button, sometime it will return undefined.[[BR]] ",Bug,closed,Normal,,General,FCKeditor 2.6.3,duplicate,Confirmed,