Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
177 views
in Q2A Core by
In changes his value sometimes in "conten" sometimes "qcontent". How to determine, which is used in the current context.

2 Answers

0 votes
by

The ID (and name) attribute is set to "qcontent" if you are editing a question and "acontent" if you are editing an answer. I believe that is set by the Q2A core code, so changing theme shouln't change that ID.

0 votes
by

@DisgruntledGoat, thanks much for the rule of thumb about editor object.. the mysteries of ckeditor are starting to unfold..  !?

I now see this in Firebug..

 

Edit Answer:  CKEDITOR.instances returns acontent
Edit Question:  CKEDITOR.instances returns qcontent
Ask Question:  CKEDITOR.instances  returns content

 

...