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

Can't create subscript inside subscript or superscript #2146

Open
AllanChain opened this issue Oct 2, 2023 · 0 comments
Open

Can't create subscript inside subscript or superscript #2146

AllanChain opened this issue Oct 2, 2023 · 0 comments
Assignees
Labels

Comments

@AllanChain
Copy link
Contributor

AllanChain commented Oct 2, 2023

Description

Can't use _ (Shift+-) or Ctrl+- to create subscript inside subscript or superscript.

Steps to Reproduce

  1. Go to demo page https://cortexjs.io/mathlive/demo/
  2. In the math input box, type a _ b _
  3. Another example, type a ^ b _
mathlive-subscript-bug.mp4

Actual Behavior

  1. The subscript b got selected
  2. A subscript of a is created

Expected Behavior

Both: a subscript of b is created

Additional context

  1. I can create superscript inside subscript or superscript
  2. It's actually possible to create subscript inside superscript, but an extra subscript of a should be created before I can create subscript of b (see screen recording)

Environment

MathLive version 0.95.5

Operating System Linux

Browser Firefox and Chrome

@arnog arnog self-assigned this Oct 6, 2023
@arnog arnog added the bug label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants