On a fresh drupal install using:
Drupal 7.37
CKEditor module 7x.1.16
Ckeditor library 4.4.7
jquery update 7.x-2.5 [configured for version 1.10]
Entity Embed 7.x-1.0-alpha1
widget 4.4.7 [in /libraries/ckeditor/plugins/widget]

'Render embedded entities' is selected for Full HTML under Text Formats. Under the CKeditor profile [/admin/config/content/ckeditor/edit/Full] there is no "E" button is available for selection. I also tried adding a custom button but it also did not appear for selection.

Am I missing something? Awesome module. Thank you for back porting it to drupal 7.

Thank you,
Tracey

Comments

Devin Carlson’s picture

Category: Bug report » Support request
Status: Active » Fixed

You must use the latest -dev release of the CKEditor module. Also, make sure that you have the CKEditor advanced content filter disabled.

wrd’s picture

I'm getting the same problem:

  • Entity Embed 7.x-1.0-alpha1+1-dev
  • CKEditor 7.x-1.16+9-dev
  • Advanced content filter disabled
  • Text format has Render Embedded Entities and Align Embedded Entities selected
  • Entity Embed CKEditor Widget plugin: Widget plugin found at ./sites/all/libraries/ckeditor/plugins/widget OK
  • Entity Embed CKEditor version: CKEditor 4.4.7 OK
  • Entity Embed jQuery version: jQuery 1.8.3 OK

However, when editing the ckeditor profiles, the E button is not available and the "Plugin for embedded entities" option is not available.

When I set up from scratch on my local (in Acquia Dev Desktop), it worked fine. In our Linux environments, I've tried both setting up from scratch and bringing the config over using Features, both without success. The only thing that HAS worked is actually dumping the database from my local and importing it into the remote...but that's not an option for anything other than my test site.

Any thoughts/suggestions appreciated!

wrd’s picture

Status: Fixed » Active
wrd’s picture

Looks like a registry rebuild wakes up the buttons/plugin.

Sorry, my mistake. Was looking at the test instance, where it was initially set up.

wrd’s picture

A little additional information:

The environment I described above is a multisite installation with, currently, about a half-dozen sites. I've got entity embed enabled for two of them; I used Features to bring the ckeditor, text format, and entity embed settings over.

So, same code, same environment, same jQuery.

One of the sites is working perfectly.

The other shows the entity embed options on the text formats, but the plugin is not available in ckeditor. I just tried disabling all the features, entity embed, and ckeditor, uninstalling them, and reinstalling just ckeditor and entity embed, with the same result.

Any ideas? Thanks!

dstol’s picture

Ran into this too, fixed by making sure I was on the latest dev of ckeditor, 7.x-1.16+9-dev

Devin Carlson’s picture

Status: Active » Postponed (maintainer needs more info)

@wrd If the plugin isn't showing up on the CKEditor configuration page then I'd start by verifying that CKEditor is detecting the plugin and that the path to the plugin is correct.

I'd suggest printing a message at the beginning of entity_embed_ckeditor_plugin() to verify that Entity Embed's implementation of hook_ckeditor_plugin() is being invoked.

Then find the value of return $plugins; at the end of CKEditor module's ckeditor_load_plugins() function and verify that the path to the Entity Embed plugin matches its location on disk.

joelstein’s picture

You need the latest DEV of CKEditor, which includes ckeditor_hook_info(), thus making the entity_embed.ckeditor.inc file discoverable. This hook is not included with latest stable CKEditor release (7.x-1.16).

wrd’s picture

I am using the latest dev release of ckeditor. This is a multisite install; Entity Embed is detected by some of the sites, but not others -- all sharing the same modules and libraries.

Devin: I'll give that a try and report back. It may be a few days, as we're in the middle of a site launch. Thanks!

a.milkovsky’s picture

I can confirm that the "E" button becomes visible with the latest CKeditor dev release.

MariskaTh’s picture

Me too, thanks.

Hanno’s picture

Worked for me as well be installing latest ckeditor dev module, thanks

Devin Carlson’s picture

Status: Postponed (maintainer needs more info) » Fixed

It sounds like this is fixed.

Status: Fixed » Closed (fixed)

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