Skip to content

Bug: "Edit Post" node in the toolbar not working when previewing posts #1515

Description

@renatonascalves

Applicable Versions

  • @faustjs/core version: 1.0.3
  • @faustjs/react version: Not used.
  • @faustjs/next version: Not used.
  • WordPress version: 6.2.2

I followed this "Get started with Faust" guide: https://faustjs.org/tutorial/get-started-with-faust

Steps To Reproduce

preview.mov

Link to code example:

See this Github issue for a technical overview of the problem: wp-graphql/wp-graphql#2876

The expected behavior

I expected the "Edit Post" toolbar node to be available when previewing posts and the link should point me to the edit post screen of the post I'm previewing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugIssue that causes incorrect or unexpected behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions