I've installed and enabled Token insert (ckeditor). I've configured this in the CKeditor profile (filter + icon in toolbar) and the text formats. The tokens themselves are working fine in CKeditor (with Token Filter enabled and configured), but when I click the Token insert button in the toolbar, I'm getting a blank dialog (see attachment).

  • D7.34
  • jQuery Update 7.x-2.4 (tried all possible versions for administrative pages)
  • Latest Chrome & Firefox (34.0)
  • I'm not getting any errors in the console seemingly

Any idea where things may get wrong?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bratsun’s picture

Category: Support request » Bug report

I should confirm it's still the case, I get just an empty popup with Cancel and Close buttons. Looks like a serious bottleneck so changing to bug report.

fabianderijk’s picture

Priority: Normal » Major

I'm also having this issue. Changing priority to major, because the module is not working now.

fabianderijk’s picture

Status: Active » Needs review
FileSize
2.67 KB

I've created a patch to make this functionality work again. Please add this.

fabianderijk’s picture

This is a better patch. This one works better with multiple ckeditor instances on one page.

fabianderijk’s picture

Last patch was not ok, forgot a console.log line

fabianderijk’s picture

Assigned: Unassigned » fabianderijk
fabianderijk’s picture

Assigned: fabianderijk » Unassigned
fabianderijk’s picture

Assigned: Unassigned » fabianderijk

  • fabianderijk committed 1551ce6 on 7.x-2.x
    Issue #2394135 by fabianderijk: Empty Token dialog in CKeditor
    
fabianderijk’s picture

This is now fixed in the 7.x-2.x-dev version

fabianderijk’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

knalstaaf’s picture

Status: Closed (fixed) » Needs work

Sorry to dig this one up again, but the current dev-version seems to work perfectly when only one textarea field is present. When two (Full HTML) textarea fields in one node are being used it falls back in its bad habbit of showing an empty dialog.

fabianderijk’s picture

Status: Needs work » Closed (cannot reproduce)

I've just tested this with a clean drupal install. I created two text fields with a ckeditor. Both of them work fine and as expected with both a filled dialog and inserting the token in the correct textarea.