Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Links to user's site in draft posts display blank page in Preview #3220

Closed
samjhamdy opened this issue Feb 10, 2016 · 2 comments
Closed
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@samjhamdy
Copy link

Ticket: 2514527-t
The use reported that clicking the Preview button for a draft post, then clicking a link within the post, leads to a blank page.

I've been able to replicate this on my test blog. Test draft in Calypso: https://wordpress.com/post/sjhtestdomain.com/3046

In testing this issue, I've discovered that only links to the user's site create this behavior. Links to external sites seem to work fine. I've labeled the various links I've tested in the above post in the link text for each link.

I've also created a link to the user's site on another test site that's not a replicate of the user's site: https://wordpress.com/post/sjhtest1.wordpress.com/4760 (Link text: 'Test of link in Preview')

The same behavior appears here - clicking the link in Preview leads to a blank page.

Steps to replicate:

  1. Create a draft post in Calypso.
  2. Add a link to a page or post on the site
  3. Click the Preview button
  4. Click on link in the preview

Screencast:

calypso-preview-link

Let me know if I can provide any additional information that would be helpful. Thanks!

@lancewillett lancewillett added [Feature] Post/Page Editor The editor for editing posts and pages. [Type] Bug When a feature is broken and / or not performing as intended labels Feb 11, 2016
@hoverduck
Copy link
Contributor

21Apr16 Bug Scrub

I confirmed this is still a problem, but I have the opposite symptoms of the original report. Links to pages internal to my site work fine, but links to external sites yield a blank page. Regardless, once a link is clicked, there's no way to get back to the original post preview without an entire page refresh.

3220-gh-wp-calypso

@designsimply
Copy link
Contributor

designsimply commented Jul 19, 2016

#bug-scrub

Closing because I re-tested and was unable to reproduce the problem using the testing steps provided.

Tested using Firefox 47.0.1 on Mac OS X 10.11.5 on production. I found that clicking on a link to an external site from a draft preview resulted in the link opening in a new tab and clicking on a link to a post on the same blog opened the post.

Regardless, once a link is clicked, there's no way to get back to the original post preview without an entire page refresh.

Raised this at #6911

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

4 participants