transitive-bullshit / nextjs-notion-starter-kit

Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://transitivebullsh.it/nextjs-notion-starter-kit
MIT License
6.28k stars 5.29k forks source link

Inline comments break text rendering #104

Open killianhuyghe opened 3 years ago

killianhuyghe commented 3 years ago

If you add inline comments to your blog post page (say because you're doing a review before publishing), the text that is commented becomes invisible on your website, even if the comment is resolved.

A workaround is to delete every comment or delete the text containing the comment and copy paste it back.

Note that it doesn't impact the table of content, only the main article area.

transitive-bullshit commented 3 years ago

Thanks, Killian.

I think @pavlovcik has seen this issue as well.

The weird thing afaict is that Notion's API doesn't return the text content for these blocks as I think they're handled as a special case. Definitely a bug that should be resolved in react-notion-x.