How to programmatically determine name of CKEditor instance

后端 未结 6 2058
野趣味
野趣味 2021-01-05 03:40

I\'ve added a CKEditor instance programmatically to my page in the code-behind of my ASP.NET page:

VB.NET:

itemEditor = New CkEditor
cell.Controls.Ad         


        
6条回答
  •  醉酒成梦
    2021-01-05 04:06

    The following code:

    var allInstances=CKEDITOR.instances;
    for ( var i in allInstances ){
        alert(allInstances[i].name);
    }
    

    works fine for me.

提交回复
热议问题