jgraph / jgraph/drawio

Allow copying of items from read-only file

Open
#5,677 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
In draw.io v23, it was possible to copy items from a read-only file. In v24 and beyond, selecting and copying objects is disabled and only "Copy as Image" is possible. Our workflow was to copy items from a file that contained standardized elements and paste them into a read/write working file in another draw.io window.

Describe the solution you'd like
Allow items in read-only documents to be selected and copied to the clipboard. (I understand that editing a read-only file is not allowed and agree that it should not be allowed. I am only requesting the ability to Copy items.)

Describe alternatives you've considered
I tried creating a Library, but this appears to be intended for shapes. My read-only sheet contains grouped/compound items which I don't believe can be represented as a shape.

Additional context
Screen capture illustrating a standardized element which we'd like to be able to copy from a read-only file.
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in draw.io v24 or later with a read-only document containing grouped or compound items, then compare it with v23. The change is done when items in read-only documents can be selected and copied to the clipboard, while editing remains disabled and “Copy as Image” continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.