Skip to content

[Bug] Crepe BlockEdit add button has unexpected behavior inside multiline list entry #2087

@kgutwin

Description

@kgutwin

Initial checklist

  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions

v7.15.5

Link to runnable example

No response

Steps to reproduce

In the playground, paste the following into the Markdown source:

# List Behavior

* initial

  second line

Then, in the Milkdown editor, hover over "second line" and click the Add button (+ icon).

Expected behavior

The block insert menu should appear as it normally does in other contexts. Alternatively, if this menu is not context-appropriate, it would make sense for the + button to not be displayed.

Actual behavior

A new blank line is added.

Runtime

Chrome

OS

macOS

Build and bundle tools

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions