Skip to content

problem accessing playground related url's from within playground #2373

Closed

Description

@ajitbohra

Block-Based Visual Blueprint Builder Plugin Works fine in standalone mode, but a few things break in the playground. As per my understanding, the service worker intercepts all the requests to https://playground.wordpress.net, which affects the following:

  1. fetch request to schema.json 404 as the service worker is trying to load this from the worker cache
  2. Link to open a fresh playground with blueprint JSON fails as it routes the request to the current playground scope
  3. Link to open blueprint in BluePrint Builder (code editor) as it routes the request to the current playground scope and 404

Steps to Reproduce
GitHub Repo | Playground Preview

playground-url-issue.mp4

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    on Jul 21, 2025
  2. ajitbohra commented on Jul 24, 2025

    @ajitbohra
    MemberAuthor

    Duplicate #961

  3. ajitbohra commented on Jul 24, 2025

    @ajitbohra
    MemberAuthor

    For Records issues resolved using suggestion by @adamziel here

    1. Schema fetch fixed by using the raw GitHub URL
    2. https://href/li?https://playground.wordpress.net does the trick (JSON string was causing issues using btoa() on string handles it)
    3. https://href/li?https://playground.wordpress.net/builder/builder.html does the trick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions