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

Zhuyin Input Causes Content Duplication #18

Open
2 of 4 tasks
UTing1119 opened this issue Mar 18, 2025 · 2 comments
Open
2 of 4 tasks

Zhuyin Input Causes Content Duplication #18

UTing1119 opened this issue Mar 18, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@UTing1119
Copy link

Please save me some time and use the following template. In 90% of all issues I can't reproduce the problem because I don't know what exactly you are doing, in which environment, or which y-* version is responsible. Just use the following template even if you think the problem is obvious.

Checklist

Describe the bug
When inputting unfinished Mandarin, if anyone enters some characters, the unfinished part will duplicate.
I encountered this bug when using y-quill in my project, but it appeared again when I used the y-quill demo.

To Reproduce
Steps to reproduce the behavior:

  1. Go to y-quill live demo and use two computers.
  2. one user switches to Zhuyin IME
  3. one user creates some words in Zhuyin, while another creates random characters at the same time.
  4. See error

Expected behavior
the unfinished part won't duplicate

Screenshots

20250318-0341-32.9869245.mp4

Environment Information

  • Chrome Ver 134.0.6998.89
  • Yjs version and the versions of the y-* modules you are using: It depends on the demo settings.

Additional context
Add any other context about the problem here.

  • I'm a sponsor 💖
  • This issue is a blocker for my project.
@UTing1119 UTing1119 added the bug Something isn't working label Mar 18, 2025
@dmonad
Copy link
Member

dmonad commented Mar 18, 2025

Hi @UTing1119

I think we have a similar issue in y-prosemirror. y-quill only syncs the events generated by y-quill. The issue is that quill duplicates content when an external insertion happens. This is why I believe that this issue should be fixed in the quill editor. Could you please open an issue in their repository?

A client of mine fixed this issue by disabling syncing while the user is in composition mode (while inserting unfinished composable content). This is obviously not an ideal solution. Also, this only works if you are able to modify the connection provider code.

@UTing1119
Copy link
Author

sure. I opened an issue about this in Quill. if anything is wrong, please let me know 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants