I am using Wysiwyg module version 7.x-2.1
with CKEditor 3.6.2.7275

When I enable the media embed button on the Ckeditor, it causes CKeditor and the text area to disappear on all of my long text fields.

When I check firebug error console it says "u is null" in CKeditor.js .... If that means anything to anybody:)

CommentFileSizeAuthor
#15 1670310-15.patch619 bytesgnuget
#13 1670310-13.patch582 bytesvishal9619
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Eyal Shalev’s picture

Priority: Normal » Major

Happened to me as well. this is a major issue

pfournier’s picture

This module is only an integration of the plugin into Drupal. Please contact plugin author for these kinds of errors.

I am leaving the issue open since there is no issue queue on the plugin homepage.

pfournier’s picture

Component: Code » Plugin Code
Cybertrail’s picture

I assumed that the mediaembed plugin should be installed in the ckeditor plugin folder but this caused the editor to disappear. Then I read the docs and moved it to the wysiwyg_mediaembed plugins folder the menu reappear.

pfournier’s picture

Status: Active » Closed (works as designed)
PavelG’s picture

Experiencing same issue with CKEditor 4.1.2.d6f1e0e and the latest version of mediaembed from http://ckeditor.com/addon/mediaembed.

The files are, as per instructions, in sites/all/modules/wysiwyg_mediaembed/plugin/mediaembed/

When I enable the embed button in the WYSIWYG interface, the text area disappears, and I get the following error in the js console:

Uncaught TypeError: Cannot read property 'icons' of null ckeditor.js?mse3p1:208
(anonymous function) ckeditor.js?mse3p1:208
(anonymous function) ckeditor.js?mse3p1:207
n ckeditor.js?mse3p1:202
q ckeditor.js?mse3p1:202
p ckeditor.js?mse3p1:202
(anonymous function) ckeditor.js?mse3p1:203

attisan’s picture

same here - though I guess this is not an error based upon the module. This seems to be plugin specific.

greets

kpm’s picture

same here... following

johnvsc’s picture

I had this issue with a custom plugin.

The solution for me was to make the name of the plugin the same CamelCase (yes, with the first letter capitalized)

It seems that somewhere in JS this is relevant. So, any reference to the plugin / widget name needs to be the same.

Web-Beest’s picture

Issue summary: View changes

I've resolved this problem by changing the key of the array in wysiwyg_mediaembed.module (line 14) from CamelCase to lowercase:

old:

    case 'ckeditor':
      return array(
        'MediaEmbed' => array(

new:

    case 'ckeditor':
      return array(
        'mediaembed' => array(
lhridley’s picture

Status: Closed (works as designed) » Active

Reopening, based on comments that code changes to the module are needed to restore the wysiwyg menu. Confirmed that code changes in comment #10 are correct, and the wysiwyg editor reappears after changes are implemented.

Patch forthcoming.

lhridley’s picture

Component: Plugin Code » Module Code
vishal9619’s picture

FileSize
582 bytes

Patch based on comment #10.

vishal9619’s picture

Status: Active » Needs review
gnuget’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Priority: Major » Critical
FileSize
619 bytes

Using:

CKEditor 4.6.2
WYSWYG 7.x-2.4
Wysiwyg Media Embed Dev Version at commit: 182545d789f4008bde965f22cd0c27c4cefed08f

#13 didn't work for me, I spent time debugging this and the problem is a missing slash.

patch attached.

Without this the module doesn't work at all, so I changed the priority to critical.

And the current stable version has another bug so is necessary to use the dev version or apply the patch in this comment https://www.drupal.org/node/2164239#comment-9292299 before to apply my patch.

David.

  • HongPong committed 294c7d0 on 7.x-1.x authored by gnuget
    Issue #1670310 by vishal9619, gnuget: Ckeditor disappears from text...

HongPong credited HongPong.

HongPong’s picture

Thank you, sorry I didn't spot this more quickly. Tagging release with patch now. (also i don't know why it credited me above - didn't check any boxes :/ )

HongPong’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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