Skip to content

[Bug] Adding block equation removes quote #352

Description

@kevin8999

Summary

When attempting to write a block equation inside a quote's last line, the editor removes the quote and adds the block equation in.

Steps to reproduce

  1. Open the editor
  2. Create a block by beginning a line with >
  3. Add a block equation by typing $$ or clicking the f(x) Math button

Expected behavior

When a user inserts a math equation inside a quote block, the following markdown should appear:

> $$ {block equation here} $$

Actual behavior

Currently, when the user inserts a math equation, the quote block is overwritten with the block equation, resulting in:

$$ {block equation here} $$

Version / commit

main

Area

app (frontend)

Confirmations

  • I searched existing issues and this is not a duplicate.
  • This is not a security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions