I quote words from the author of the codemirror who provide the analytics about the cause of the previous bug mentioned in the post 1
Finally figured this out—the backspacing was causing a scroll event, and another iOS hack was delaying DOM reading on backspace-like changes because those sometimes continue trashing around in the DOM for a bit asynchronously, and in combination that led to the editor trying update its DOM at a point where it hadn’t read a change yet, confusing the composition-preserving code and thus interrupting the composition.
When input in a list, or editing a heading, the output result is different from input a line of ordinary text, i.e. some style is applied to the line dynamically. So, is it possible that the reason which cause the fixed bug that affects the input of a line of ordinary text also affects the editing list, heading and other things which is NOT a line of ordinary text? And a similar fix can be applied for them?