Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jul 24, 2022

Summary

When using IME for CJK character input it is called after the composing
is finished, at this point there might be more than one character.

Example

Before entering the same work (sakura) as Japanese Kanji and Hiragana, Kanji is one symbol so it worked, Hiragana are three syllables symbols so it does not:
Input using IME does not work

After this patch using IME works as expected:
Input using IME is correctly formatted

@susnux susnux added bug Something isn't working feature: formatting Features related to text formatting and node types 3. to review labels Jul 24, 2022
@susnux susnux requested a review from max-nextcloud July 24, 2022 19:38
Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, minimal fix to the point -- thanks a lot!
I wonder if there would be an easy way to test this. But i don't think we're testing input rules yet.

@juliusknorr
Copy link
Member

/compile amend /

When using IME for CJK character input it is called after the composing
is finished, at this point there might be more than one character.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
@juliusknorr juliusknorr merged commit 147b408 into master Jul 25, 2022
@juliusknorr juliusknorr deleted the fix/2749 branch July 25, 2022 06:14
@susnux
Copy link
Contributor Author

susnux commented Jul 25, 2022

I wonder if there would be an easy way to test this. But i don't think we're testing input rules yet.

I wanted to add a cypress test, but I did not find a way to test IME input

@susnux
Copy link
Contributor Author

susnux commented Jul 25, 2022

I think this should also be backported to stable 24

@juliusknorr
Copy link
Member

/backport to stable24

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

Labels

3. to review bug Something isn't working feature: formatting Features related to text formatting and node types

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Asterisk not changed to unordered list

4 participants