curvenote / editor

An interactive scientific editor built with ProseMirror, React and Redux - by Curvenote.
https://curvenote.com
MIT License
291 stars 32 forks source link

Cannot backspace delete inline math next to code block #108

Open nokola opened 2 years ago

nokola commented 2 years ago

Steps to reproduce:

  1. Type and move cursor at |
    `te |  st`
  2. Press / select "Inline Math"
  3. Right arrow
  4. Backspace Expected: Inline math is deleted

Actual: no op

Note: inline math can be deleted if I press one more right arrow to go inside the code block. Likely some glitch with prosemirror-codeblock extension.

Example: inlineBackspace