Problem
When editing a node, the "Preview" buttton is not working with 11.2.x - it redirects to the current page or destination parameter. It should redirect to the frontend preview.
Issue fork lupus_decoupled-3557148
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
fagoturns out, we overwriting the ::preview submit handler, what seems fragile. Instead of replacing the logic, we should append it. Create MR.
Comment #4
fagoI successfully tested this also works in a Drupal 10 install.
Comment #6
fagoComment #8
fagoAdding patch for usage with composer patches also.