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

Code blocks are not loaded sometimes

Open AngCosmin opened this issue 2 years ago • 7 comments

Description

Sometimes the code blocks are not loaded. If you refresh the page multiple times you can see that the code blocks does not appear. I think the cause of this problem is the dynamic import for optional components.

image

This is how the HTML of the code blocks looks like when it is not rendered:

<div class="notion-blank notion-block-a1dbb3d4d751437d96ce2d412e14e954">&nbsp;</div>

Notion Test Page ID

https://react-notion-x-demo.transitivebullsh.it/0c322c33381c49bca5083a451c334c39

AngCosmin avatar Sep 26 '22 13:09 AngCosmin

Same issue here. Seems to be a Safari problem.

paulkre avatar Oct 12 '22 12:10 paulkre

I have it also on Chrome

AngCosmin avatar Oct 12 '22 13:10 AngCosmin

I had the same problem also. I turned off the Adblocker once and then turned it back on and now the code is showing up!!

kotu-kotuo avatar Nov 12 '22 04:11 kotu-kotuo

I had the same problem link

coderlfm avatar Feb 13 '23 03:02 coderlfm

这个问题可以现在依旧有

coderlfm avatar May 04 '23 06:05 coderlfm

confirmed still facing this issue v6.16

link

kevinarch avatar Jun 12 '23 03:06 kevinarch

I had the same problem also.

chuyun avatar Jun 14 '23 02:06 chuyun