ckeditor5-math
ckeditor5-math copied to clipboard
Huge portions of text being deleted when typing something after a math expression.
Hey, I've been having this problem for a few months but still have not found out what is causing it. It happens constantly though.
This line for example, after typing any character at the end turns into
I've been working around this by inserting a dot at the end of the line and typing my texts before the dot. But even then sometimes I get unexpected behavior that is similar to this, such as the inability to delete characters using backspace.
I can reproduce this problem every time using this string
The frontier of a set
(X \subseteq \R^2)
is the set
(Y)
of all points
(y \in \R^2)
such that every neighborhood of
(y)
meets both
(X)
and
(\R^2 \setminus X)
. Note that if
(X)
The formatting is off, but I just copied directly from the editor.
A simpler test case:
Start with an empty editor or a new line and press these keys:
1. <ctrl-m>
2. x
3. <return>
4. <space>
@tony in https://github.com/isaul32/ckeditor5-math/pull/47#issuecomment-847058447 you said you weren't able to reproduce the issue. Here is a reproduction using [email protected]: https://jsfiddle.net/sasquacz/hm05b9tn/28/
There are two different scenarios described, I'm not sure if they are caused by the same root cause.