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

"^" switches to LaTex mode on Microsoft Edge on macOS 15 #2529

Open
stephtr opened this issue Sep 29, 2024 · 0 comments
Open

"^" switches to LaTex mode on Microsoft Edge on macOS 15 #2529

stephtr opened this issue Sep 29, 2024 · 0 comments

Comments

@stephtr
Copy link

stephtr commented Sep 29, 2024

Description

Entering "^" on Microsoft Edge on macOS 15 with german keyboard layout switches the math-field to LaTex mode (probably affecting Chrome too, I didn't test it).

Steps to Reproduce

(Required) Provide steps that are specific and repeatable

  1. Visit the official demo: https://cortexjs.io/mathlive/demo/
  2. Try to enter x^2

Actual Behavior

Immediately end up in LaTex mode:
image

Adding the following keydown handler fixes the issue:

if (ev.key === 'Dead') {
    ev.preventDefault();
}

Expected Behavior

On Safari or Edge on Windows, I can perfectly enter x^2.

Environment

MathLive version 0.101.0

Operating System macOS

Browser Edge. Safari is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant