Automattic / Automattic/jetpack

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

Open
#17,788 8 comments 0 reactions 0 assignees View on GitHub
[Block] Google Calendar [Pri] Low Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

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](https://wordpress.com/support/google-calendar/#embed-a-google-calendar-with-html).

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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a published page using the Google Calendar block and a calendar event containing a hyperlink. Read the Google Calendar block entry point and compare its behavior with the HTML block workaround; done means links in the calendar event description open with a left-click.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.