WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 2 months ago

#46833 new defect (bug)

Facebook embed blocks not previewable and cause console errors in customizer

Reported by: timph Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Embeds Keywords: needs-patch
Focuses: Cc:

Description

steps to replicate:

  1. Create new post
  2. Add a new Facebook Embed block (I used same URL from Theme Unit Test Data as this is where it was noticed: https://www.facebook.com/6427302910/posts/10156380423617911/ ).
  3. Save and publish post.
  4. Visit post on frontend of site - no console errors appear.
  5. Click Customize in adminbar.

The result is that console errors reported, and the embed does not display giving inaccurate previews in the customizer:

5uPlmwCxNZ9.js:70 ErrorUtils caught an error: "Failed to set the 'domain' property on 'Document': Assignment is forbidden fo...". Subsequent errors won't be logged; see https://fburl.com/debugjs.

Change History (2)

#1 @matdemystify
2 months ago

I'm getting the same issue and it's a block on us using gutenburg, i do wonder if it's not browser specific. weirdly changing to the default theme it worked more consistently.

#2 @matdemystify
2 months ago

  • Component changed from Customize to Embeds
  • Version 5.1 deleted
Note: See TracTickets for help on using tickets.