Skip to content

Deleting an item creates double itemization bullets in front of the next item #1845

Closed

Description

@fbruetting

Description

Just see my screen cast (which I had to zip, because stupid GH is incompatible with attaching webm videos or Markdown files). 🙄️

Peek 2019-12-31 00-45.zip

  • Can you reproduce the issue?

Steps to reproduce

  1. Create a Markdown file with the following content (I also attached my file for making sure that all spaces in blank lines are preserved: Marktext-Test.zip).
* 

* C
  
  - D
  1. Position the cursor on the first item.

  2. Press delete (not backspace!)

Expected behavior:

Just the first line should be deleted

* C
  
  - D

Actual behavior:

In addition to the expected behavior, the line with the D item gets two bullet points

* C

* - D

Versions

  • Mark Text: v0.15.1
  • Operating system: Fedora Silverblue 31

Settings

Bildschirmfoto von 2019-12-31 00-58-51

Activity

  1. Jocs commented on Feb 16, 2020

    @Jocs
    Member

    The delete key should delete the text behind the cursor. Here the line break is deleted after the cursor, so C moved to the first item.

  2. fbruetting commented on Feb 16, 2020

    @fbruetting
    Author

    But the two stars would need to be merged with that.

  3. Jocs commented on Feb 23, 2020

    @Jocs
    Member

    But the two stars would need to be merged with that.

    What do you think is the expected result, can you show me the expected markdown result. thanks.

  4. fbruetting commented on Feb 23, 2020

    @fbruetting
    Author

    Of course, I updated the initial post with respecting code examples.

  5. added
    🐛 bug
    on Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bug🔭 area/muya

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions