Create a link to open the preview in a new window or tab

Created on 21 March 2023, about 2 years ago
Updated 2 November 2023, over 1 year ago

Problem/Motivation

Due to the preview generating in an iframe, some external links will not open due to most sites setting x-frame-options to same origin.

Steps to reproduce

Load a preview which has a link to a site like https://www.drupal.org and notice the page doesn't load in the iframe.

Proposed resolution

Create a link to open the full preview page in a new window or tab (not sure which is best and open for suggestions). The links could be positioned somewhere near the iframe. Something like: "Open preview in new window".

User interface changes

New link. See attached screenshot. "Open link in new window" (probably want to actually say "Open preview in new window").

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States shrop

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024