-
-
Notifications
You must be signed in to change notification settings - Fork 34
Description
As the title says, I want to confirm with cmd+enter instead of enter key. If there is a way to do this, please let me know. If not, I would like the feature to be added. I'm not confident about the code quality, but I can submit a PR.
The following are the reasons for this feature request.
Confirming with the enter key is problematic for many Japanese people. In Japanese, 3-7 types of characters are mainly used: hiragana, katakana, kanji, and alphabet (x2-4). After entering text on the keyboard, the user selects which type to use. Since the enter key is used to select, if the text is confirmed with the enter key, it is frustrating because you cannot continue entering text. I have expressed a specific example of the operation in text.
When typing
"CarlosNZは偉大なengineerです"
It need to type
"CarlosNZ" "は" "enter" "偉大な" "enter" "engineer" "です" "enter"
ref:
json-edit-react/src/ValueNodes.tsx
Line 23 in 10f5c9f
if (e.key === 'Enter' && !e.shiftKey) handleEdit() |