How to programmatically determine name of CKEditor instance

后端 未结 6 2003
野趣味
野趣味 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:17

    If you need the instance from a plugin, at least in version 4+ you can do this.

    CKEDITOR.currentInstance
    

    Here I am wanting to know the name of the textarea I applied ckeditor on.

    CKEDITOR.currentInstance.name
    

提交回复
热议问题