Image popup depends on the core library core/drupal.dialog.ajax which is not always added, so it needs to be attached in order to make sure that it will be always there.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | image_popup-attach_dialog_library-2894624-2.patch | 782 bytes | ruloweb |
Comments
Comment #2
ruloweb commentedPatch attached.
Comment #3
ruloweb commentedComment #4
anairamzapI reviewed the patch on #2 and it works as expected :)
(Drupal 8.3.5)
Comment #5
VeroKrings commentedTested > The patch on #2 works as expected.
Comment #6
fabiansierra5191 commentedThe patch on #2 is working as expected!
Tested on Drupal 8.3.5 version, Chrome and Firefox browsers for authenticated and anonymous users!
Comment #7
tuchoI have tested the patch on #2 with Drupal 8.3.5 and it work as expected.
Comment #8
aporieThe issue still exists when using image popup in the Wysiwyg then.
By default, drupal.dialog.ajax is not loaded for anonymous users. You should add this dependency in your custom theme libraries.yml:
I think this should be added to the project page (or somewhere in a doc page).
Comment #9
rakesh.gectcrI am not sure about the above comment. Thanks for the patch, And it is applying correctly.
Comment #10
rakesh.gectcrComment #12
rakesh.gectcrThank you all for your contribution.
Comment #13
rakesh.gectcrComment #15
tomchy commentedThe patch not working on 8.8.5 (on 8.x-1.1)
dev version not working at all (missing insert icon on CKEditor)