Skip to content

Zhuyin Input Causes Content Duplication when using y-quill(YJS) #4629

@UTing1119

Description

@UTing1119

Hello! I encountered an issue with Zhuyin input while trying to sync the content.
When the user is still in the process of selecting text, if another user updates the text on the same line, it causes the selected text to be duplicated.

After some research, we believe this issue occurs because Quill duplicates content when an external insertion happens.

Here is the issue I opened in y-quill:
yjs/y-quill#18

I also found some bug reports related to Korean IME, and I think this issue is similar.
I only found a solution involving disabling batchStart and batchEnd, but I have no idea how to disable that in my client code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions