hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

"Save & Exit" not working #387

Open VictoriousRaptor opened 1 year ago

VictoriousRaptor commented 1 year ago

"Save & Exit" button and ctrl+s hotkey is not working. File is not saved after clicking the button or pressing the hotkey.

VS Code version 1.78.0

Extension version 1.6.6

hlovdal commented 3 months ago

@VictoriousRaptor Where is Save & Exit coming from? I only have a Save entry in the File menu, and both it and ctrl+s is working as expected.

vscode version 1.87.2, extension 1.6.6.

VictoriousRaptor commented 3 months ago

@VictoriousRaptor Where is Save & Exit coming from? I only have a Save entry in the File menu, and both it and ctrl+s is working as expected.

vscode version 1.87.2, extension 1.6.6.

I got it. I'm using the online mode so there's a "Save & Exit" and ctrl+s doesn't work. Offline mode works well.

changbowen commented 2 months ago

I'm having the same problem with saving in online mode using online URL https://embed.diagrams.net/. (I'm using online mode because I find it renders "correct" colors under dark mode.)

Neither Ctrl+S keyboard shortcut or the Save & Exit button work in online mode. To save it I have to use "Save" option from VS code menu, or to just close the tab and choose Save on the prompt. This feels like an issue with keyboard shortcut conflict.

Perhaps this could be an easy fix?

erictioh commented 4 weeks ago

Same to me, offline mode giving me problem in formatting issue and if i embed the drawio.svg file into html, some text doesn't display properly.