Skip to content

Bug: Copied Draw.io block fails to save on a different page #2288

Closed

Description

@Werner594

Description:
Copying a draw.io diagram and pasting it on the same page works fine. But if I copy it to a different page, saving breaks. When I edit the pasted diagram and hit "Save", the UI just flickers. The editor stays open, no errors are shown, and the changes aren't saved.

Steps to Reproduce:

  1. Create a draw.io block on Page A.
  2. Highlight the diagram and copy it (Ctrl+C).
  3. Go to Page B and paste it (Ctrl+V).
  4. Open the draw.io editor on Page B.
  5. Change something and hit "Save".

Expected Behavior:
The diagram saves and the editor closes.

Actual Behavior:
The UI flickers, the editor stays open, and nothing is saved.

Workaround:
Creating a new draw.io block on Page B and copy-pasting the diagram contents,inside the draw.io editor, or using export/import functionallity, works fine. The bug only happens when copying the Docmost block itself.

Environment:

  • Docmost: v0.90.0
  • Installation: Docker
  • Browser: Firefox 152 (64-Bit)
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