react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

Suggest Edits markup appears in rendered text

Open marius-refinq opened this issue 7 months ago • 0 comments
trafficstars

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: https://github.com/NotionX/react-notion-x/pull/620

marius-refinq avatar Mar 25 '25 08:03 marius-refinq