Allow the `dropover` to bubble from the editor
authorAlexander Ebert <ebert@woltlab.com>
Thu, 13 Aug 2020 18:26:47 +0000 (20:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 13 Aug 2020 18:26:47 +0000 (20:26 +0200)
Enables proper drag & drop when running in fullscreen mode.

Fixes #3509

wcfsetup/install/files/js/3rdParty/redactor2/redactor.js

index d0f82d2539e32f2237326f491c576ddb886ad810..8fb05c90cee26d95ec74f695e5e95c6c99391c72 100644 (file)
                                },
                                dragover: function (e) {
                                        e.preventDefault();
-                                       e.stopPropagation();
                                        
                                        if (e.target.tagName === 'IMG') {
                                                $(e.target).addClass('redactor-image-dragover');