Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to disable Export to - URL via configuration #4336

Open
Xandrr opened this issue Apr 20, 2024 · 1 comment
Open

Add ability to disable Export to - URL via configuration #4336

Xandrr opened this issue Apr 20, 2024 · 1 comment

Comments

@Xandrr
Copy link

Xandrr commented Apr 20, 2024

Is your feature request related to a problem? Please describe.
We need to disable "export URL" function in our local instance of draw.io due security reasons.

Describe the solution you'd like
Add startup parameter to override Editor.enableExportUrl value without code editing.

Describe alternatives you've considered
I should manual edit file in my local repository:
src/main/webapp/js/diagramly/Editor.js
@@ -174,7 +174,7 @@
/**
* Disables the export URL function.
*/
Editor.enableExportUrl = true;
Editor.enableExportUrl = false;

Additional context
Add any other context or screenshots about the feature request here.

@davidjgraph
Copy link
Collaborator

Why do you specifically want that disabled and not save as XML, extra->edit diagram, etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants