Skip to content

Cut and paste block breaks block references (block UUID) #4491

@marcusround

Description

@marcusround

What happened?

Right click -> Cut only adds plain text to clipboard.

Reproduce the Bug

  1. Create a block with a block reference (so that the content of the block contains something like ((a852377d-6614-48fd-8404-e7c8e25f43c3)))
  2. Right click the bullet point -> Cut
  3. Paste the block somewhere
  4. The new block is the plain text content of the referenced block, not a live block reference.

Expected Behavior

I would expect the newly pasted block to contain a block reference, not the plain text content.
I would expect right click > cut to have the same behaviour as highlighting the block and pressing Ctrl-X (which does copy the block reference.)

Screenshots

No response

Desktop Platform Information

No response

Mobile Platform Information

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    :type/bugSomething isn't working. Affects daily use.block-refeditor:copy-pasteClipboard data attached is appreciated. See menu - bug report - clipboard inspectorestimate: very largeA project level feature (as large as the projects listed in our roadmap)

    Type

    No type

    Projects

    Status

    ✔ DONE

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions