Skip to content

Embed Block: Clicking on embedded file link in the editor breaks it #51255

Open
@devNigel

Description

@devNigel

When you embed a file such as PDF on the editor, the Embed block says Click to access (filename). However, when you click on it, the Embed block looks broken with a sad face.

image

Steps to reproduce the behavior

  1. Go to Site > Pages / Posts > Add New
  2. Paste a link to a file uploaded on the site to embed it.
  3. You will notice it says Click to access..
  4. But when you click on it, it results in error.

What I expected to happen

It should be possible to access that file, as claimed by the Embed block.

It would be even better if the embed block can render the embed on the editor like how it renders on the live page.

What actually happened

image

Does this happen on simple or atomic sites or both?

Both

Is there any console output or error text?

No

Level of impact (Does it block purchases? Does it affect more than just one site?)

Affects all sites.

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Consistent.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

Screen recording: https://d.pr/i/bkq9GS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Back to BasicsCustomer ReportIssues or PRs that were reported via Happiness. Previously known as "Happiness Request".[Type] BugWhen a feature is broken and / or not performing as intended[Type] EnhancementChanges to an existing feature — removing, adding, or changing parts of it

    Type

    No type

    Projects

    • Status

      Triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions