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.
The video filter embed button in CKEditor pop up works fine in Chrome and Firefox, but on Safari, when you click the cancel or insert button, the pop up doesn't work. It just remains open.
Sometimes, the insert works the first time you try it, then it hangs on any additional insert.
I'm on Safari 9.1.1, FF 46 and Chrome 51.
CKEditor version 7.x-1.17
Comment | File | Size | Author |
---|---|---|---|
#6 | 2749267-fix-safari-problems.patch | 1.12 KB | jsobiecki |
Comments
Comment #2
DamienMcKennaI just tested this with Safari 10 (on El Capitan) and it's working.
Can you please let me know if any error messages show in the Safari's developer console?
Comment #3
lreynaga CreditAttribution: lreynaga as a volunteer commentedI am able to replicate this. I am also attaching an image (https://www.evernote.com/l/AjUCsYmgyZREM6lk6-cEUZyEcBMxP3MRjT4) of how the pop-up window looks, and the console error you get when you try clicking the "Instert" button.
OS X El Capitan v10.11.4
Safari: Version 9.1 (11601.5.17.1)
CKEditor Version: 7.x-1.17+4-dev
Comment #4
rmajed CreditAttribution: rmajed as a volunteer commentedI am facing the same problem ..
in file video_filter_dialog.js
line 10
CKEDITOR = dialogArguments.opener.CKEDITOR;
ERROR on safari:
that’s my version of Safari Version 11.0.3 (13604.5.6)
Comment #5
rmajed CreditAttribution: rmajed as a volunteer commentedComment #6
jsobiecki CreditAttribution: jsobiecki at RatioWeb commentedFor me it looks like Safari is slowly withdrawing deprecated window.showModalDialog (and related dialogArguments variable). Problem is caused by a fact, that althrough window.showModalDialog still exists, it doesn't behave correctly.
As showModalDialog is deprecated, I tried to simple remove reference to this (patch attached) and it looks that it solved my problem.
Comment #7
jsobiecki CreditAttribution: jsobiecki at RatioWeb commented