Skip to content

Conversation

@ljie-PI
Copy link
Contributor

@ljie-PI ljie-PI commented Dec 26, 2025

This is a work around to avoid #2887.

In my working env, I don't setup img-clip. So it raise errors when I input Chinese characters, because that triggers past event. I have set behaviour.support_paste_from_clipboard to false. But it seems not working.

Since the content in pasted event triggered by Chinese character is usually very short (It's triggered when using Pinyin to input several characters), but valid image data is usually long. So use the length to avoid the errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant