Describe the bug
Volto "Page" editing form behave wrongly when Japanese Kanji is entered on SAFARI browser on Mac.
Pressing Enter/Return key to select Kanji characters in Japanese IME mode causes unexpected cursor move to the next line that interrupt text input.
To Reproduce
Steps to reproduce the behavior:
- Go to "demo.plone.org" using SAFARI browser on Japanese Mac OS machine.
- Login to the site and click "add PAGE" icon.
- Click the Title field and enter Japanese characters. IME will be opened.
- In the process of conversion, you will press Enter/Return key to select the appropriate Kanji string.
- Volto will misunderstand that Enter/Return signal as "end of sentence" and move cursor to the next line, the subtitle field. The first Enter/Return should be understood as "end of IME conversion".
Expected behavior
To enter the Japanese Kanji sentence, user enters syllable/word by converting key sequence to the target kanji characters.
For example, the transform works as "Kanji" --> "かんじ" --> "漢字".
The first conversion "Kanji --> かんじ" is from key input to Hiragana, phonetic one to one projection.
The second conversion "かんじ --> 漢字: is from Hiragana to Kanji, phonogram to ideograph.
The first conversion is automatically done by Japanese IME (Input Method Editor) because it is one to one mapping.
The second conversion is done by manual selection by user, because there are several possibility of Kanji characters against same Hiragana characters.
For example, "かんじ" can be mapped to "漢字" or "感じ" or "幹事" or "監事" or "カンジ", etc.
In IME mode, The user skips the focus to the appropriate Kanji among the possible Kanji listing by pressing space key.
Once the appropriated Kanji is focused, user press the Enter/Return key to tell this is the appropriate Kanji. OS will send it to application.
When user wants to put "line break", Enter/Return key should be pressed while IME is not working, typically right after the Kanji selection is completed by Enter/Return key.
So, the cursor move to the next field should occur when Enter/Return key is pressed twice, one for end of IME and one for string entry.
Screenshots
Screen capture video (mov file) is available.
Software (please complete the following information):
- Server: http://demo.plone.org as of 21 June 2026
- Volto 19.1.1
- Plone 6.2.0
- plone.restapi 10.0.0
- same result obtained with Plone/Volto on the latest Raspberry Pi OS, Raspberry Pi 5 16GB
- Client Browser: SAFARI version 26.5 (21624.2.5.11.4)
google Chrome version 134.0.6998.89(Official Build) (arm64)
- Client OS: Mac OS / Mac Studio (Japanese version)
Additional context
iPhone/iPad does not have this problem. iOS use "touch" to select appropriate Kanji instead of using Enter/Return key.
Describe the bug
Volto "Page" editing form behave wrongly when Japanese Kanji is entered on SAFARI browser on Mac.
Pressing Enter/Return key to select Kanji characters in Japanese IME mode causes unexpected cursor move to the next line that interrupt text input.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To enter the Japanese Kanji sentence, user enters syllable/word by converting key sequence to the target kanji characters.
For example, the transform works as "Kanji" --> "かんじ" --> "漢字".
The first conversion "Kanji --> かんじ" is from key input to Hiragana, phonetic one to one projection.
The second conversion "かんじ --> 漢字: is from Hiragana to Kanji, phonogram to ideograph.
The first conversion is automatically done by Japanese IME (Input Method Editor) because it is one to one mapping.
The second conversion is done by manual selection by user, because there are several possibility of Kanji characters against same Hiragana characters.
For example, "かんじ" can be mapped to "漢字" or "感じ" or "幹事" or "監事" or "カンジ", etc.
In IME mode, The user skips the focus to the appropriate Kanji among the possible Kanji listing by pressing space key.
Once the appropriated Kanji is focused, user press the Enter/Return key to tell this is the appropriate Kanji. OS will send it to application.
When user wants to put "line break", Enter/Return key should be pressed while IME is not working, typically right after the Kanji selection is completed by Enter/Return key.
So, the cursor move to the next field should occur when Enter/Return key is pressed twice, one for end of IME and one for string entry.
Screenshots
Screen capture video (mov file) is available.
Software (please complete the following information):
google Chrome version 134.0.6998.89(Official Build) (arm64)
Additional context
iPhone/iPad does not have this problem. iOS use "touch" to select appropriate Kanji instead of using Enter/Return key.