Complex Input Method Editor Does Not Work at Line Beginning

Issue Summary

  • Complex input not working at beginning of blank paragraph
  • Does not mirror behavior elsewhere on other websites or other programs on the computer
  • May need comments from people who use other scripts where the input method editor does not simply swap characters but dynamically alters content

Steps to Reproduce

  1. Start a new line.
  2. Begin typing with a complex input method editor.
    Some examples include Chinese Pinyin where you write the Pinyin spelling of a Mandarin Chinese word in regular Roman letters and then get a pop-up menu to choose a hanzi (Han character) that will replace those past characters (usually one to five as that is the length of a syllable in Pinyin).
    Another example is Korean hangul. It is an alphabet that, on the fly, will assemble a few letters into a pre-composed block. When you type ㅇㅏㄴ, a flashing icon begins assembling a preview of the letters in a block, one at a time, then finalizes 안 and inserts the pre-composed as soon as you move the cursor, enter a space or other punctuation, end the line, or type a character that could not go into that block (and intelligently breaks apart the letters in the preview as soon as you enter sequence that would have to be in two syllable blocks). If you look at 안녕하세요 and 만나서 반갑습니다, you will notice some letters repeat. (Imagine if we wrote mam-oth [mammoth] or po-lo [polo].)
  3. The workaround is to write a period first and then write with the complex input method editor, which will then work right, insert one or more characters and then after that, delete the period. Once the line is empty, however, the input method editor returns to its state of not functioning correctly. (I posted a bug on Github too: https://github.com/TryGhost/Koenig/issues/1879)

Setup information

Ghost Version
6.44.0

Node.js Version
Latest hosted by Magic Pages

How did you install Ghost?
Hosted by Magic Pages

Provide details of your host & operating system
Mozilla Firefox 140.11.0-esr on Debian Linux (amd64 architecture) 12.

Database type
Unknown

Relevant log / error output
N/A