Skip to content

Wrong task-list item alignment #1540

@fxha

Description

@fxha

Description

The task-list item is not aligned correctly in preview mode with multiple lines of text.

  • Can you reproduce the issue?

Steps to reproduce

Paste one of the two examples below.

Example 1:

- [ ] foo

- [ ] bar
  
  bar
  
  bar
  
  bar

- [ ] foo

Example 2:

- [ ] foo

- [ ] test
  
  - foo
  - foo
  - foo

- [ ] bar

Expected behavior:

The test checkbox should be aligned top and not in the middle.

  • foo

  • test

    • foo
    • foo
    • foo
  • bar

Actual behavior:

The test checkbox is in the middle of the list item.

mt_task_list_item_alignment

Versions

/cc @Jocs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions