Jungwoo-An / react-editor-js

⚛️📝The unofficial editor-js component for React
https://codesandbox.io/s/react-editor-js-v2-34bfl
MIT License
954 stars 77 forks source link

"element with ID «...» is missing. Pass correct holder's ID." #151

Closed saradevh closed 2 years ago

saradevh commented 3 years ago

Environment

Describe

Not preventing from use, but there is some errors in the console

Capture d’écran 2021-10-04 à 18 43 29
Jungwoo-An commented 3 years ago

@SFromentarius Hi! First of all, thanks for your interest! 👋

I'm sorry for the late! Can you show me code?

Thanks!

saradevh commented 3 years ago

Hi @Jungwoo-An , I didn't succeed to reproduce in a sandbox yet this issue :/ I will try again or give your more details about my code anyway, as soon as possible. Thanks!

batiyeh commented 2 years ago

@Jungwoo-An @SFromentarius I have also been facing this issue and its been using up my Sentry quotas. This resolved the problem for me: https://github.com/batiyeh/react-editor-js/commit/71e96c191bcc1578aa9f57145cf154f6e8abd776

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Jungwoo-An commented 2 years ago

@batiyeh Did you customize holder prop?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

batiyeh commented 2 years ago

@Jungwoo-An no, only the above minor change was required.

Jungwoo-An commented 2 years ago

@batiyeh Did you use nextjs? (or other ssr framework) If you are using ssr, you must set the holder.

batiyeh commented 2 years ago

Nope - just a normal SPA from create-react-app. I am loading content from an external source (s3 bucket) and not rendering the EditorJs instance until that load completes

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.