Automattic / Automattic/o2

Crowdsignal Polls Don't Embed

Open
#172 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
338
Forks
56
Avg merge
24m
Merged PRs (30d)
16

Description

**Issue**

When using P2, Crowdsignal polls do not embed at all:

- When sharing the link, it embeds in the editor, but not the live site. It just has the plain link
- When using the shortcode, nothing appears on the live site at all

Link sharing gif:

![Screen Capture on 2019-08-22 at 13-33-02](https://user-images.githubusercontent.com/33553323/63536459-a2d40380-c4e1-11e9-8e0b-a54ce48dbe41.gif)

Shortcode gif:

![Screen Capture on 2019-08-22 at 13-36-02](https://user-images.githubusercontent.com/33553323/63536576-e595db80-c4e1-11e9-8aef-ca8d2fa627ca.gif)

**Expected Behavior**

The poll to embed properly on the live post like it does in the editor. This works properly for other themes.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing both the shared-link and shortcode cases in a P2 editor and on the live post, comparing the two results. Trace the existing Crowdsignal embed handling and verify that both forms render on the live site as they do in the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend, web-dev
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.