Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEditor5 issues when rerendering in react. #406

Open
balean12 opened this issue Aug 15, 2023 · 3 comments
Open

CKEditor5 issues when rerendering in react. #406

balean12 opened this issue Aug 15, 2023 · 3 comments
Labels
pending:feedback This issue is blocked by necessary feedback. type:question

Comments

@balean12
Copy link

Hello, I am using CKEditor5-react for its rich text feature, nothing complicated. However, I am trying to reflect the changes a user is typing for another user that is on the page. Real time editing somehow. And I get this very buggy error regarding JSON.stringify(). Have you guys encountered this?

Could not send the log to the server, something is very wrong TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Dc'
| property '_conversionApi' -> object with constructor 'Object'
--- property 'dispatcher' closes the circle
at JSON.stringify ()

image

@balean12
Copy link
Author

I am using ckeditor5/ckeditor5-react v6.1.0 and having a CKEditor5 custom build

@Witoso
Copy link
Member

Witoso commented Aug 16, 2023

Unfortunately, this is not enough information for us to help right now. Real-time collaboration is a complex task to achieve.

However, I am trying to reflect the changes a user is typing for another user that is on the page.

We would need to get more details to try to help, the error itself doesn't say much.

@Witoso Witoso added type:question pending:feedback This issue is blocked by necessary feedback. labels Aug 16, 2023
@AliaksandrBortnik
Copy link

@balean12 it depends on what value you are trying to stringify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending:feedback This issue is blocked by necessary feedback. type:question
Projects
None yet
Development

No branches or pull requests

3 participants