Skip to content

Last word gets deleted after pressing TODO button (android) #10013

@spotke

Description

@spotke

Search first

  • I searched and no similar issues were found

What Happened?

The last word of a line is deleted after pressing the TODO button. Exactly the same as #8503 . However, I can't reproduce deleting entire lines after pressing the TODO button.

Reproduce the Bug

  1. Make a new block
  2. Type a sentence (multiple words)
  3. Press TODO button
  4. Notice that TODO was added in front of the sentence, but last word was deleted

Expected Behavior

The last word should be kept. I can't see any benefit to removing the last word when transforming the block into a TODO

Screenshots

Screen_Recording_20230809_095534_Logseq.mp4

Desktop or Mobile Platform Information

Logseq 0.9.13
Android 12 (on samsung s10e)

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions