Opening IMCE window without Image Dialog (http://drupal.org/node/697980#comment-2610782).

CommentFileSizeAuthor
#2 imce-ckeditor.tar_.gz1.52 KBmephir
imce-ckeditor.tar_.gz1.52 KBmephir
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mephir’s picture

Installation:

  1. extract archice to ckeditor/plugins, next to drupalbreaks etc...
  2. edit ckeditor.config.js and add lines below(next to media upload):
      config.extraPlugins += (config.extraPlugins ? ',imce' : 'imce' );
      CKEDITOR.plugins.addExternal('imce', Drupal.settings.ckeditor.module_path + '/plugins/imce/');
  3. add button IMCE into toolbar, also in ckeditor.config.js
mephir’s picture

FileSize
1.52 KB

Fixed conflict with filebrowsers in dialogs.

wwalc’s picture

Status: Needs review » Needs work

In the attached plugin, the following internal CKEditor property is changed: editor._.filebrowserFn
Because of that when this plugin is enabled Image Dialog is not working properly.
To remember a reference to the anonymous function, you can use the private scope of CKEditor, but you should give it some other unique name, like editor._.drupalImceFn.

mephir’s picture

Status: Needs work » Fixed

Changes commited to CVS. Fixed variable name which store callback function number.

Status: Fixed » Closed (fixed)

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

BetaTheta’s picture

I'm a bit confused. Is this archive been added to the CKEditor module? If so, how do I enable it?

I tried opening the archive file, I couldn't do it (using a Mac). I don't know if it's a problem on my end of if it's because the file ends in tar_.gz instead of tar.gz. Any help would be greatly appreciated.

DanilaD’s picture

Janam, yes, this plugin is currently included into CKEditor.

Here are the plugins that you can find in /sites/all/modules/ckeditor/plugins:

drupalbreaks imce linktomenu linktonode mediaembed

hd’s picture

What would it take to do the same for CKEditor implemented under the WYSIWYG module?

patriiiiiiiiiick’s picture

Is this plugin supposed to be working? The instructions above seem to be outdated. I suppose this is not "Plugin for inserting files from imce without image dialog", right?