- Issue created by @jesus_md
- 🇪🇸Spain jesus_md
I have created a path with the proposed solution I mentioned, on our projects solve this error.
node_previews_dialog_fix.patch → - 🇪🇸Spain jesus_md
I found another issue with the same problem https://www.drupal.org/project/drupal/issues/3308432#comment-16139164 💬 The link on the Image tag is redirecting to an undefined page from the node preview screen. Active
- leymannx Berlin
Re-uploading the patch from #3308432-42: The link on the Image tag is redirecting to an undefined page from the node preview screen → that fixes this issue. Credit needs to be given to @keshavv.
- leymannx Berlin
Hmmm, okay, just noticed now that #10 is just reverting what was done in 💬 The link on the Image tag is redirecting to an undefined page from the node preview screen. Active , so I guess this can't be the fix. Looks like we have to check both. Like this maybe:
let href = event.currentTarget.href; if (href === undefined) { href = event.target.href; } window.top.location.href = href;