Skip to content

Undoing a Block Move from a Text or URL Property Value Moves the Block to the Node's Child Blocks #1241

Description

@jhjhree

Search first

  • I searched and no similar issues were found

What Happened?

The values of text and url type properties can be moved using the Ctrl+Shift+M shortcut, just like regular blocks.

However, when the move is undone with Ctrl+Z, the block is not restored to its original position as a property value. Instead, it is inserted into the node's child blocks.

Reproduce the Bug

  1. Create a text type property or a url type property.
  2. Set a block as the property's value.
  3. Use Ctrl+Shift+M to move the block.
  4. Press Ctrl+Z to undo the move.

Expected Behavior

The block should be restored to its original position as the property's value.

Screenshots

No response

Files

No response

Browser, Desktop or Mobile Platform Information

windows 11
logseq 2.0.1-alpha+nightly.20260919

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!)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions