I added a CKEditor instance programmatically to my page in the code of my ASP.NET page:
VB.NET:
itemEditor = New CkEditor cell.Controls.Add(itemEditor)
... which works great. I can get the HTML in the postback and do something with it.
However, I also want to do some client things with it, in particular, pull the selected item out of another control and insert it into the text by processing the onchange event.
So, how can I get the editor instance name in JavaScript so that I can do things like:
function GetCkText() { var htmlFromEditor = CKEDITOR.instances['editorName'].getData();
javascript ckeditor
Chrisa
source share