Closed denisbeelog closed 1 year ago
Exemple of *.SVG files :
https://github.com/jgraph/drawio/blob/dev/README.md:
"draw.io is a diagramming or whiteboarding application.... It is not an SVG editing app..."
Yes but the open file function display that Draw.io is able to open SVG file, so wwhy not open also an SVG file from the command line.
We only open .drawio.svg files which have embedded diagram data. SVG files can only be imported into existing diagrams as images.
Describe the bug Draw io could not open an *.svg from the command line C:\Program Files\draw.io\draw.io.exe "%1"
To Reproduce Open Drawio with the fonction ShellAPI.ShellExecute(0,'Open',pc_selectionner,pchar('"'+strpas(Self.file_to_open_with)+'"'),pchar(ExtractFileDir(Self.file_to_open_with)),SW_NORMAL); with ab Svg file it's not open it.
Expected behavior open the *.svg files by parsin the command line at setup or other extension who is available.
Screenshots
draw.io version (In the Help->About menu of the draw.io editor): diagrams.net 20.6.1
Desktop (please complete the following information):