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

[Bug]selection with multiple lines convert to not multiple but one list item by bullet/ordered-list menu button #30

Open
2 tasks done
HexMox opened this issue Nov 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HexMox
Copy link

HexMox commented Nov 30, 2023

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

@milkdown/preset-commonmark

Link to runnable example

No response

Steps to reproduce

https://milkdown.dev/playground

why not using wrapInList instead of wrapIn in @milkdown/preset-commonmark

import { wrapInList } from "@milkdown/prose/schema-list";
{
commands: (nodeType) => [
      createCmd(WrapInBulletList, () => wrapInList(nodeType)),
]
}

Expected behavior

image

Actual behavior

image

Runtime

Chrome

OS

macOS

Build and bundle tools

No response

@HexMox HexMox added the bug Something isn't working label Nov 30, 2023
@Saul-Mirone Saul-Mirone transferred this issue from Milkdown/milkdown Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants