问题陈述:
from :http://cksource.com/forums/viewtopic.php?f=6&t=10058
编辑器的创建不是线程安全的
页面中:
<tr> <td colspan="6">
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = "${ctx}/fckeditor/";
oFCKeditor.Create() ;
var oEditor = FCKeditorAPI.GetInstance('oFCKeditor');
alert("----");
FCKeditor_OnComplete(oEditor);
</script>
</td>
</tr>
JS:
<script type="text/javascript"> function FCKeditor_OnComplete( editorInstance )// 等待editor创建完成 { editorInstance.SetData('${editData}'); } </script> |