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] Cursor does not move to the new list item after splitting list item in crepe editor in angular #1524

Open
2 tasks done
sarveshpop opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sarveshpop
Copy link

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/crepe@7.5.7

Link to runnable example

https://stackblitz.com/edit/stackblitz-starters-xsemq6?file=src%2Fmain.ts

Steps to reproduce

In the above sandbox,

  1. Create a new list item
  2. Type some text
  3. Press Enter to split the list item

Expected behavior

New list item should be created, and cursor should be moved to the new list item position.

Actual behavior

New list item is created but cursor stays on the initial list item.

crepe.list.item.issue.mp4

Working as expected in https://milkdown.dev/playground

Runtime

Chrome

OS

Windows

Build and bundle tools

Webpack

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