Skip to content

Editing nested list changes formatting #20073

Closed
matrix-org/matrix-react-sdk
#7422
@renancleyson-dev

Description

@renancleyson-dev

Steps to reproduce

  1. Send a message with a markdown nested list and some text before or after it
    WhatsApp Image 2021-12-06 at 15 35 01
  2. Edit the message, just add or remove something on some list item
  3. The formatting changes, there's more space between the items
    WhatsApp Image 2021-12-06 at 15 35 38
  4. Edit again
  5. The formatting changes, the additional space is removed
    WhatsApp Image 2021-12-06 at 15 36 07
  6. If you repeat the 2-5 steps, you will see that the formatting alternates between adding and removing space

Outcome

What did you expect?

Editing list items don't add any space or change the formatting.

What happened instead?

Editing list items alternate the formatting between adding and removing space.

Operating system

Ubuntu

Browser information

Chrome Version 96.0.4664.45 (64-bit)

URL for webapp

app.element.io

Application version

element version: 1.9.6 olm version: 3.2.3

Homeserver

matrix.org

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Message-EditingO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions