Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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:)
Comment | File | Size | Author |
---|---|---|---|
#15 | 1670310-15.patch | 619 bytes | gnuget |
#13 | 1670310-13.patch | 582 bytes | vishal9619 |
Comments
Comment #1
Eyal ShalevHappened to me as well. this is a major issue
Comment #2
pfournier CreditAttribution: pfournier commentedThis 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.
Comment #3
pfournier CreditAttribution: pfournier commentedComment #4
Cybertrail CreditAttribution: Cybertrail commentedI 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.
Comment #5
pfournier CreditAttribution: pfournier commentedComment #6
PavelG CreditAttribution: PavelG commentedExperiencing 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:
Comment #7
attisansame here - though I guess this is not an error based upon the module. This seems to be plugin specific.
greets
Comment #8
kpm CreditAttribution: kpm commentedsame here... following
Comment #9
johnvsc CreditAttribution: johnvsc commentedI 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.
Comment #10
Web-BeestI've resolved this problem by changing the key of the array in wysiwyg_mediaembed.module (line 14) from CamelCase to lowercase:
old:
new:
Comment #11
lhridley CreditAttribution: lhridley as a volunteer commentedReopening, 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.
Comment #12
lhridley CreditAttribution: lhridley as a volunteer commentedComment #13
vishal9619 CreditAttribution: vishal9619 at OpenSense Labs commentedPatch based on comment #10.
Comment #14
vishal9619 CreditAttribution: vishal9619 at OpenSense Labs commentedComment #15
gnugetUsing:
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.
Comment #18
HongPong CreditAttribution: HongPong at kor group commentedThank 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 :/ )
Comment #19
HongPong CreditAttribution: HongPong at kor group commented