-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Content synchronization error when co-editing with Korean IME. #17
Comments
@ViniciusSCG Thanks for your quick reply, can you explain it more clearly? |
Hi @weiQuill The last comment was a phishing attack by a random user. I hope you didn't download anything. These kinds of issues are extremely hard to debug for me. Are you saying that the demo (https://demos.yjs.dev/quill/quill.html) is working but the demo in this repository ( If that's the case, then this might be an issue with the quill editor version. To verify events that we receive from the quill editor, could you modify the source-code of y-quill and add this logging statement? // line 104
this._quillObserver = (eventType, delta, state, origin) => {
console.log({ eventType, delta, state, origin }) // <--- add this line
... It would really help me understand the problem. Thanks! |
Yes, I didn't download those files, I was wary of downloading files, thanks for the heads up!
Yes, I just run the demo on my local with Thanks for pointing me in that direction, I'll give it a try! |
HI @dmonad |
Checklist
Describe the bug
I ran the y-quill demo locally and opened two windows to simulate different clients. When I used Korean IME to quickly type in one of the windows, and then clicked on a line in the other window and tried to continue typing there, the error occurred.
The strange thing is that I can't reproduce this issue in the online demo.
Since
y-webrt
didn’t work for me, I just replaced it withy-websocket
. Same as the online demo.To Reproduce
Steps to reproduce the behavior:
T
key.Expected behavior
The content is synced correctly.
Screenshots
Screen.Recording.2024-08-28.at.15.24.59.mov
Environment Information
npm ls yjs
to find out the exact version you are using.Additional context
BTW, this is also an issue that occurs when using Korean IME in my project, which is also a combination of quill+yjs.
The text was updated successfully, but these errors were encountered: