Ckeditor - get instance value

I have a cms page that uses multiple instances of ckeditor. In the previous version of this cms we used FCKeditor.

The problem is that we cannot get the value of the specific ckeditor instances.

The ckeditor documentation says that I can get the value of an instance like this:

This assumes that my ckeditor instance is associated with a form field called “editor1”.

My question is, how do I modify the code so that “editor1” is a variable?

I have the value of the variable in a js var called editorName



Thanks man. That worked. I appreciate it

Jack Albright