Comments (4)
I'm not personally keen on offline mode in draw.io. Would fully tested Electron apps of draw.io work better for you?
from drawio.
Hm, I'm not sure. My use-case of offline mode is providing it as a safe intranet service, hence no third-party CDN, integrations with GDrive/Dropbox/OneDrive or any other requests including sending logs to draw.io itself.
Electron app currently lacks this feature and being unfamiliar with Node.JS and Electron, I don't see a way to ditribute and update app with Electron to every end user without NPM installation quest.
from drawio.
Saving from Safari without using an echo server is a bit of a mess. You'll find discussions like this one on SO, but the upshot is there's no way to make it work on Safari 8,9 and 10, our supported Safari versions.
The most popular JS library for creating a shim is FileSaver.js. You can see in the README that Safari is a problem. You can neither name the file and "sometimes" the blob is opened so you need users to ⌘+S to save.
Saving to file system in the browser is a fairly poor experience.That said, I see the advantage of distributing as a web app, the only way to solve this for Safari will be to have an echo on the server.
We can work out the exact parameters to switch everthing off without stopping comms to the local server, as well. I'd suggest starting with ?db=0&gapi=0&od=0&analytics=0&picker=0&mode=device&browser=0
. The logging changes are fairly recent, so it might be that we don't turn that off, we can add something for that.
Then you'd just need a simple echo for /save.
from drawio.
You're welcome to continue the discussion, but I'll close the issue since it's not possible to do a local save of any reasonable kind in Safari.
from drawio.
Related Issues (20)
- Google doc add on: Imported diagrams are all grey HOT 3
- Merging cells with a background colour results in a set of cells with two background colours
- Google Doc integration adds too much space around embedded image HOT 3
- Google doc add on: Imported diagrams are not cropped correctly HOT 1
- Extra Padding around diagram when exporting to PDF HOT 2
- Secondary development of drawio
- Allow https://app.diagrams.net/#U to access private gitlab pages
- Export single page plot as PDF but get multiple pages output HOT 3
- Not a diagram file (error on line 180 at column 75128: AttValue: ' expected) HOT 5
- Incorrect table cell size when changing units to mm HOT 1
- export PDF with extra background part HOT 20
- placeholders %height% %width% %length% are not showing in mm (unit set on view > unit like inch, m, mm ...)
- Color picker sends cursor to left side when exits right while pressing down
- Please change Increase/decrease font size shortcut
- Just a question request
- Add URL parameter to the viewer to select elements with specific tags
- [Feature Request] Shortcut for Copy/Paste Style
- Excess event listeners affecting the performance
- Sharepoint folder picker - search or better organization HOT 2
- Feature: Allow embedding one page in another HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drawio.