[I'm not sure if this belongs in Media CKEditor's queue or Media's queue. Feel free to move as appropriate.]

After experiencing complete brokenness* of CKEditor with the most recent version of Media, I found and installed this module**.

However, the checkbox for Plugin for embedding files using Media CKEditor did not appear in my CKEditor profiles.

Instead, Plugin for inserting images from Drupal media module still appeared, and if I selected it, the editor continued to be broken.

I went poking through both modules and found that they both have a hook_ckeditor_plugin_alter() plugin named "media".

I removed the media_wysiwyg.ckeditor.inc file manually, refreshed everything, and the correct checkbox appeared. It even stayed there after I put the file back. I'm not enough of a coder to say why, but that seemed to work.

Hope this is helpful.

* With the old plugin enabled, node add pages with CKEditor-enabled fields would not finish loading.
** Installed on local machine with MAMP.

Comments

tanc’s picture

Also had this same issue. Upgrading to latest dev of media 2.x solved it as the media_wysiwyg.ckeditor.inc file has been removed.

Dave Reid’s picture

Status: Active » Fixed

Yes, you must be using the latest 7.x-2.x-dev of Media (not the 7.x-2.0-beta1 release) with this module.

epersonae2’s picture

Can that be noted on this module's home page?

Status: Fixed » Closed (fixed)

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

dmargetts’s picture

Version: 7.x-1.0-alpha1 » 7.x-2.x-dev
Status: Closed (fixed) » Active

Having installed the latest 7.x-2.x-dev release (as per @Dave, not using 7.x-2.0-beta), the issue doesn't appear to be fixed for me.
The CKEditor profile UI still only shows "Plugin for inserting images from Drupal media module", and enabling it causes the editor pages not to load.
Any thoughts?

rooby’s picture

So can we also clarify in the docs/readme/etc. whether or not you need to have media_wysiwyg enabled in addition to media_ckeditor or if you should not enable both.

It's currently not clear from documentation.

Devin Carlson’s picture

Status: Active » Fixed

I've clarified that the Media WYSIWYG submodule is required as well as the latest -dev release, though it is a dependency of Media CKEditor so you can't install the module without it.

  • Devin Carlson committed 7409f2c on 7.x-2.x
    Issue #2539396 by Devin Carlson: Clarified installation requirements.
    

Status: Fixed » Closed (fixed)

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