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)
- drawio extension for Google Docs is not working well HOT 1
- Selected Size US-Legal 14 x 8.5 but exporting as 14.6 x 8.8
- Microsoft Azure Icons library update
- Inconsistent group rotation
- SVG export uses wrong scale due to nonstandard pixels per inch
- Connect label of connector with a line to the connector
- Request for Feature as a GIF Export HOT 1
- New PDF exports break pdflatex HOT 1
- Handle 404 Errors in GitLab Group Iteration HOT 2
- Support custom styles/themes
- Export png is not good HOT 1
- Export SVG - data-cell-id HOT 1
- Colors Affected by Dark Mode
- Not possible to open a hash link on the current page
- Allow to specify `size` in the `action:export` HOT 1
- Unable to embed IFRAME content into SharePoint
- Support trackpad / touchpad panning HOT 1
- Getting error "The redirect URI included is not valid." while integrating self hosted gitlab with self hosted draw.io
- Ability to select only a certain type of element from a selected group of elements HOT 1
- Error Loading File | Flow is deleted from first tab of Draw.io file HOT 2
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.