Skip to content

Markdown editor not applying formatting correctly over multiple lines #14850

@laurent22

Description

@laurent22

In the Markdown editor, create a note:

- one
- two

Select all text, then apply bold formatting.

The result is invalid Markdown:

**- one
- two**

There's probably two bugs actually:

  1. Formatting should be applied per line in most cases, except for code blocks
  2. When applying formatting to lists, as in the above example, formatting should be applied to the text only, not to the bullet points

Metadata

Metadata

Labels

bugIt's a bugdesktopAll desktop platformshighHigh priority issuesmarkdown-editorAbout the Markdown editorv3.6

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions