You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked "open" AND "closed" issues and this is not a duplicate
Description
cant get rid of this error. even trying examples from the web. much less with my own implementation. i literally just copy-pasted the full setup example
I encountered the same issue and, as I suspected, it turned out not to be a problem with the package itself but rather with how the editor’s initial value is set and how content is passed in. To fix this, you need to ensure that the value prop follows the specific data shape required by Yoopta Editor. You can find an example in initValue.ts. Once I adjusted my initialValue to match that format, the error disappeared. I hope this helps, as I stumbled upon your post while debugging the very same issue.
Has this bug been raised before?
Description
cant get rid of this error. even trying examples from the web. much less with my own implementation. i literally just copy-pasted the full setup example
ERROR
Cannot read properties of undefined (reading 'elements')
TypeError: Cannot read properties of undefined (reading 'elements')
at K (http://localhost:3000/static/js/bundle.js:171218:25)
at http://localhost:3000/static/js/bundle.js:181081:27
at Array.forEach ()
at http://localhost:3000/static/js/bundle.js:181076:42
at http://localhost:3000/static/js/bundle.js:181087:10
at mountState (http://localhost:3000/static/js/bundle.js:90850:24)
at Object.useState (http://localhost:3000/static/js/bundle.js:91455:20)
at useState (http://localhost:3000/static/js/bundle.js:110147:25)
at vs (http://localhost:3000/static/js/bundle.js:181036:63)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:90271:22)
Screenshots
No response
Do you want to work on this issue?
No
The text was updated successfully, but these errors were encountered: