How to programmatically determine name of CKEditor instance

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

    If you only have a single instance and you do not know the name of it.

    CKEDITOR.instances[Object.keys(CKEDITOR.instances)[0]].getData()
    

提交回复
热议问题