This request is identical to the previous request for FCKeditor: #445878: Add a "fckActiveId" variable for the active editor.

The new CKeditor module has an API regression in that there is no way to find the currently active editor. For modules like Insert, this means that they have no way to find which editor to insert HTML into if there are multiple editors on the page.

Comments

quicksketch’s picture

The relevant Insert module feature request for this functionality: #811436: Insert Works For Default Fields But Not CCK Fields (CKeditor).

sethcohn’s picture

+1

If this sort of thing isn't implemented eventually, folks will be forced to use wysiwyg_api merely to use CKeditor with other modules.

jzornig’s picture

I need this.

dczepierga’s picture

Status: Active » Fixed

I add variable: Drupal.ckeditorActiveId
There u can find name of currently active editor.

Changes commited to CVS.

Please check the latest dev release and let me know if you notice any poblems with it. Remember to clear Drupal cache and browsers cache before testing.

quicksketch’s picture

Thanks, I've integrated this new option into Insert. Works great.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.