Automattic / Automattic/jetpack

Calendly Block: Can't switch back from link style

Open
#17,129 1 comment 0 reactions 0 assignees View on GitHub
[Block] Calendly [Pri] Normal Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

As the link style is implemented as a button, once selected the Calendly block changes to the button settings in the inspector and you can't get back to the inline embed

#### Steps to reproduce the issue

1. Insert a Calendly block
2. Select the link style in the inspector

#### What I expected

To be able to switch back to the inline style

#### What happened instead

The block is stuck with button options

![calendly-bug](https://user-images.githubusercontent.com/96462/92721030-58782b80-f35d-11ea-8043-8493aedeac6d.gif)

I also wasn't seeing the block style previews properly, but I imagine that's a separate issue.

Contributor guide

Open the contributing guide

Research direction

Start at the Calendly block and its inspector by reproducing the two steps described in the issue. Trace the link-style selection and verify that the inspector still allows switching back to the inline embed; done means both styles remain selectable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
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.