REF: http://drupal.org/node/681584
REF: http://drupal.org/project/imagepicker

Imagepicker does not support Ckeditor at the moment, in order to provide support you would need the the following information:

* How to detect wether Ckeditor is active
* The id of the textarea box that Ckeditor uses for the editing area, so that imagepicker will know where to insert or which command Ckeditor uses to do the insert

These would then have to be added to imagepicker_iframe.js. See the section lines 160-190 for how some other wysiwyg editors do it.

Perhaps a request for help on the Ckeditor issue queue, someone there should have the answers.

Comments

wwalc’s picture

Assigned: Unassigned » wwalc
wwalc’s picture

I have added a patch in #681584: Does this module function with Ckeditor?.

I have also added new features to the CKEditor module:

- Drupal.ckeditorInsertHtml() that can be used to insert HMTL code into CKEditor (itf there is more than one editor on a page, the content will be inserted into the editor that has been recently used)

- Drupal.ckeditorInstance - a reference to recently used editor. If not set, then CKEditor has not been created yet or user switched off CKEditor, so plain textarea should be available in such case.

wwalc’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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