Opened 22 months ago
Last modified 22 months ago
#57294 new defect (bug)
CodeMirror: Text disappears when candidate is confirmed in IME composition
Reported by: | wildworks | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
In input modes with IME compositions, such as Japanese, the text disappears when a candidate is confirmed. This occurs when it is in a bracket and indented.
For example, enter "あああ" as follows:
.test { あああ }
Then press Enter to confirm your entry and the text will disappear:
.test { }
Perhaps this problem is similar to one that has occurred in the past with the Gutenberg project. I believe that the Enter key to confirm a character is being detected incorrectly, causing unintended behavior.
- https://github.com/WordPress/gutenberg/pull/45607
- https://github.com/WordPress/gutenberg/pull/45510
The IME composition is described in detail in the following tracking issue.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
I did a little more research and found that text entered in IME mode disappears if it is immediately after a tab indent.
For space indentation, the problem doesn't occur.
You can see this in the attached
japanese-input-disappears-after-tab-indentation..mp4
.