Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huge portions of text being deleted when typing something after a math expression. #20

Open
dcfreire opened this issue Feb 1, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@dcfreire
Copy link

dcfreire commented Feb 1, 2021

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.
image
This line for example, after typing any character at the end turns into
image
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.

@isaul32 isaul32 added the bug Something isn't working label Feb 28, 2021
@doctorjames
Copy link

doctorjames commented Mar 2, 2021

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>

@rogatty
Copy link

rogatty commented Jan 25, 2022

@tony in #47 (comment) you said you weren't able to reproduce the issue. Here is a reproduction using ckeditor5-math@31.1.0: 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants