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

Automatic indentation of new line does not follow previous line #4048

Closed
mopritz opened this issue Oct 23, 2024 · 1 comment
Closed

Automatic indentation of new line does not follow previous line #4048

mopritz opened this issue Oct 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mopritz
Copy link

mopritz commented Oct 23, 2024

Describe the solution you'd like

When creating a new line via the enter key in any type of list (ordered / unordered / checkboxes), while a new item automatically gets created and even follows the numbering in a numbered list for example, it does not follow the indentation level of the previous item. So when creating indented lists with multiple items, it can get tedious to manually indent every newly created line item, especially if there are multiple levels of indentation.

Steps to reproduce

  1. Create a new memo
  2. Create a list item
  3. Create a second list item in a new line and indent it
  4. Press the enter key

Expected outcome

The third list item should have the same indentation level as the one above

Actual outcome

The third list item is not indented.

Type of feature

User Experience (UX)

Additional context

No response

@mopritz mopritz added the enhancement New feature or request label Oct 23, 2024
new-aspect added a commit to new-aspect/memos that referenced this issue Oct 25, 2024
…4048)

change the position of this logic and recommit it
boojack pushed a commit that referenced this issue Oct 25, 2024
…4050)

* fix: automatic indentation follows previous lines in lists (#4048)

* fix: automatic indentation follows previous lines in lists (#4048)
change the position of this logic and recommit it
@johnnyjoygh
Copy link
Collaborator

Updated with #4050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants