Repository navigation
Wish to have a readonly mode to just view draw.io files and not modify #5830
Replies: 2 comments
|
There's already a read-only mode: File > Properties, tick Locked, then Apply. Once a file is locked you can't edit the diagram, but you can still pan, zoom, switch pages and follow links. A lock icon appears next to the save status at the top of the window. Click it, or go back to File > Properties, and untick Locked when you want to edit again. It works the same way in the web app and in draw.io Desktop. This differs from your idea in one way: the locked state is saved in the file. Turning it on or off counts as a change to the file, and anyone else who opens it will see it locked too. A view-only toggle in the toolbar that leaves the file alone was suggested before in #4653. That issue was closed with this same suggestion, and no separate toolbar button has been added since. Notes for maintainersFeature request for a read-only/view toggle in the toolbar (next to Fullscreen). The existing feature is File > Properties > Locked (ChangeLog 24.2.8 "Adds experimental read-only mode [drawio-desktop-1380]", see jgraph/drawio-desktop#1380).
The earlier request #4653 ("Editing" and "Viewing" mode) was answered with File > Properties > Locked and then closed as not planned. The reporter there also asked for a toolbar button. The new request is essentially the same, with the addition that it shouldn't change the file. Automated first response by the draw.io triage bot. |
|
Thanks for the suggestion. The next release adds View > Read-only, next to Fullscreen. It makes the diagram read-only in the current window only: nothing is written to the file, the file isn't marked as modified, and anyone else who opens it can still edit it. A lock icon appears next to the save status at the top of the window. Click it, or untick View > Read-only, to edit again. While the diagram is read-only, or locked with File > Properties > Locked, dragging the background with the left mouse button now pans the diagram. File > Properties > Locked is still there if you want the file itself to open locked for everyone. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Wish to have a readonly mode to just view draw.io files and not modify. Could be a button in UI where it toggles readonly mode. Maybe next to fullscreen button. In readonly mode mouse drag does move whole diagram
All reactions