[wp-trac] [WordPress Trac] #57294: CodeMirror: Text disappears when candidate is confirmed in IME composition

WordPress Trac noreply at wordpress.org
Thu Dec 8 07:46:34 UTC 2022


#57294: CodeMirror: Text disappears when candidate is confirmed in IME composition
--------------------------+-----------------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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:

 {{{#!css
 .test {
         あああ
 }
 }}}

 Then press Enter to confirm your entry and the text will disappear:

 {{{#!css
 .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.

 https://github.com/WordPress/gutenberg/issues/45605

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57294>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list