website
website copied to clipboard
[Bug]selection with multiple lines convert to not multiple but one list item by bullet/ordered-list menu button
Initial checklist
- [X] I agree to follow the code of conduct
- [X] 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
Actual behavior
Runtime
Chrome
OS
macOS
Build and bundle tools
No response