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.
Comment | File | Size | Author |
---|---|---|---|
#9 | consider-other-media-too-2341297-9.patch | 1.55 KB | junaidpv |
#3 | ckeditor_media_youtube_submit_does_nothing_2341297-3.patch | 559 bytes | hamrant |
Comments
Comment #1
gfed CreditAttribution: gfed commentedComment #2
harris_david CreditAttribution: harris_david commentedI tried this patch after experiencing something that appeared to be the same issue. In the CKEditor, I can add a youtube video, but with I hit the submit button it does nothing. However, the patch did not work for me. The error I'm getting (before and after the patch) is this:
TypeError: 'undefined' is not an object (evaluating 'imgElement.attributes')
Comment #3
hamrant CreditAttribution: hamrant at DEWEB Studio commentedI have the same problem and the patch also did not work for me. Here's my solution to the problem.
Comment #4
hamrant CreditAttribution: hamrant at DEWEB Studio commentedTested on ckeditor 7.x-1.16 + media 7.x-1.5 + media_oembed 7.x-2.3
Comment #5
podarok#3 looks good. Let's have it.
Comment #7
andypost+1 to RTBC
Comment #8
junaidpv@harris_david may be you need to install media_wysiwyg module.
Comment #9
junaidpvHere is the improved patch. jQuery's `is()` function can have comma separated tag names. Consider the newly added tags while stripping also. Updated nearby comments as well.
Comment #10
jcisio CreditAttribution: jcisio at Axess Open Web Services commentedMedia integration has been moved to another module.
Comment #11
junaidpvFor those who wondering, the new integration module to glue media with ckeditor is media_ckeditor.