Skip to content

Suggest Edits markup appears in rendered text #619

Open
@marius-refinq

Description

@marius-refinq

Description:
With Notion’s recent release of the "Suggest Edits" feature—where a user can highlight a piece of text and suggest an edit—the rendered output in react-notion-x now displays suggestion markup as part of the text. I believe that this markup should be hidden or handled differently so that only the intended text is visible.

Steps to Reproduce:

  • Create or update a Notion page using the "Suggest Edits" feature (highlight text and suggest an edit).
  • Observe that the suggestion edits markup is visible in the text output.

Expected Behavior:
The suggestion markup should not be visible in the rendered text. It should either be filtered out or rendered in a way that does not interfere with the readability of the content.

Possible Solutions:
Detect and remove the suggestion edits markup from the rendered output.

I’m happy to help work on a PR to address this issue

PR here: #620

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions