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(markdown) Oddities with nested lists #194

Open
yellis opened this issue Jul 17, 2022 · 0 comments
Open

bug(markdown) Oddities with nested lists #194

yellis opened this issue Jul 17, 2022 · 0 comments
Labels
bug Something isn't working mode - markdown Affects the editor's markdown input mode

Comments

@yellis
Copy link
Contributor

yellis commented Jul 17, 2022

Describe the bug
Based on markdown

- Bulleted item
  1. Numbered item

Shown in RT mode.

  1. Selecting the numbered item shows both the bullet button and the number button selected. This may or may not be expected, as it is technically within a bulleted item. Pressing the number button removes the number, as expected.
  2. Unexpectedly, pressing the bullet button also removes the number. Pressing it a second time removes it from the parent bulleted item, as expected.
  3. You cannot backspace out of the first item in the list, but a second item (with nested list underneath) can be backspaced. Ideally would be consistent.

More generally, if we support a numbered list under a bullet list (as we do in MD, and can transform this to RT), this should be achievable in RT mode without having to go to MD mode to do it.

Screenshots
demo

Desktop (please complete the following information):
Windows 11 Chrome 103

Additional context
https://meta.stackexchange.com/a/380396/51

@yellis yellis added bug Something isn't working mode - markdown Affects the editor's markdown input mode labels Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mode - markdown Affects the editor's markdown input mode
Projects
Status: Todo
Development

No branches or pull requests

1 participant