Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 797 forks source link

Google Calendar block: links within event description won't open #17788

Open rinazrina opened 3 years ago

rinazrina commented 3 years ago

When embedding a calendar using Calendar Block, links within the calendar won't open with left-click but do with right-click.

Steps to reproduce the issue

  1. Create an event in your Google Calendar, and on the description, add a link or hyperlink.
  2. Get the embed code by following the steps here: https://wordpress.com/support/google-calendar/#google-calendar-block
  3. Go to your post/page editor
  4. Add a Google Calendar block > paste the embed code
  5. Publish the post/page
  6. Try to click the link on the published post/page. See that the link won't open with a left-click.

What I expected

Links open with a left-click.

What happened instead

Clicking the link with a left-click doesn't do anything, though the link does open with a right-click.

Screenshot

Markup 2020-11-12 at 16 22 16

Workaround Embed the calendar with the HTML block.

User report: #25551669-hc Follow-up: #3479795-zen

I can reproduce the issue on my test site.

I suggested the user embed it with an HTML block instead.

mikeicode commented 3 years ago

Reported 27171282-hc

lakellie commented 3 years ago

Adding console error for searchability: Blocked opening '<URL>' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.

tavilla61 commented 3 years ago

Another report of this happening in #27197288-hc.

Follow up: #3673950-zen Site: https://dstknoxvillealumnae.com/ Calendar Page: https://dstknoxvillealumnae.com/home/255-2/

The same behavior - the hyperlinks work on Google Calendar, but not on the site using the Google Calendar Block. They do open if you right click and open in a new tab, but otherwise they don't open at all.

kristarella commented 3 years ago

Also encountered this 3704089-zen

Clicking link doesn't work with console error mentioned by @lakellie

Open in new tab does work.

pauloeaquino commented 3 years ago

27915389-hc

Clicking any hyperlinks doesn't work, however right-clicking then selecting to open link in a new tab is fine.

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

kingsleyinfo commented 1 year ago

I just got a ticket with this same issue again. Reopening the issue here 5950038-zd-woothemes

jp-imagines commented 1 year ago

Another occurrence in 6015803-zd-woothemes.

Unsure if this was the case when this report was initially opened, but left-clicking on a Google Calendar block-embedded calendar event yields a browser error (in Chrome, at least):

www.google.com is blocked
www.google.com refused to connect.
ERR_BLOCKED_BY_RESPONSE

Same/similar console error as before, and the workarounds (right-click opening, or using an iframe in a Custom HTML block) still seem to work.