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

Console error when selecting all and pressing backspace #53

Open
Eldemarkki opened this issue Sep 29, 2023 · 1 comment
Open

Console error when selecting all and pressing backspace #53

Eldemarkki opened this issue Sep 29, 2023 · 1 comment
Assignees
Labels
bug Something isn't working editor

Comments

@Eldemarkki
Copy link
Member

Steps to reproduce:

  1. Create new answer with "Uusi vastaus"
  2. Click to the main text area with your mouse
  3. Press Ctrl + Ato select all text (even though there is no text)
  4. Press Backspace
  5. There should now be an error printed to the console:
Uncaught TypeError: MutationObserver.observe: Argument 1 is not an object.
    value https://matikkaeditori.fi/static/js/main.6bd62027.js:1

Peek 2023-09-29 21-41

@Esinko
Copy link
Member

Esinko commented Sep 5, 2024

Interesting. I'll see what I can do.
I suspect this is due to a "ghost" line being created and the imminently deleted when selecting all.

@Esinko Esinko self-assigned this Sep 5, 2024
@Esinko Esinko added bug Something isn't working editor labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor
Projects
None yet
Development

No branches or pull requests

2 participants