-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Add a table option for IME input #258
base: v2
Are you sure you want to change the base?
Conversation
@smallStall is attempting to deploy a commit to the Kevin Vandy OSS Team on Vercel. A member of the Team first needs to authorize it. |
I need to evaluate the best way to implement this. |
If you are using a Mac, you may prefer to add an additional input method as shown in the link below. https://support.apple.com/guide/japanese-input-method/set-up-the-input-source-jpim10267/mac |
On Windows I haven't been having any issues inputting in Japanese with the native IME. Maybe limited to Mac and its IME, or maybe a certain editing mode in MRT? Edit: Seems limited to Mac and certain IME input methods. For example, if I enter れいしき and hit enter without doing anything else, I get duplicated input (can replicate on the MRT docs site). If I enter れいしき, hit space, select the kanji, then hit enter, there is no duplication. So possibly, the branch change would cause unwanted effects for input methods beyond the very specific one described above (e.g. on Windows or when not hitting enter immediately after entering kana). Probably should be more investigation as to why the blur is causing duplication on Mac with that specific input sequence, rather than skipping the blur on every device and every input method. |
May be interested in this Stackblitz I put together: https://stackblitz.com/edit/vitejs-vite-pksfbb?file=src%2FApp.tsx The only difference I notice with and without the blur is there is a final I was able to work around the issue using I assume that when the blur happens immediately, there is no input for the A more elegant solution might be to detect that |
Thank you for creating a great library.
I added enableIMEMode to table option.
IME is an operating system program that enables users to generate characters not natively available on their input devices by using sequences of characters that are available to them.
IME use Enter key as submit so the entered characters may be repeated twice in MRT.
Kapture.2024-01-28.at.19.53.47.mp4