復制代碼代碼如下:
<FCKeditorV2:FCKeditor ID="fckDescription" runat="server" ToolbarSet="Basic" Height="250">
</FCKeditorV2:FCKeditor>
使用FCKeditorAPI.GetInstance獲取Fck實例。
復制代碼代碼如下:
function FCKeditor_OnComplete(editorInstance)
{
oEditer = FCKeditorAPI.GetInstance('fckDescription');
}
使用這個方法就可以處理多個Fck的情況。
FCKeditorAPI介紹