jupyterlab-spreadsheet-editor
jupyterlab-spreadsheet-editor copied to clipboard
Saving a CSV file also downloads it when the spredsheet is focused
Description
Reproduce
- Using your favorite package manager, install
jupyterlab
and this extension, e.g.,pixi init && pixi add jupyterlab jupyterlab-spreadsheet-editor
- Start JupyterLab with
jupyter lab
- Create a CSV file called
test.csv
and open it - Edit the CSV file, select any cell, and then use the save shortcut, e.g.
Ctrl + S
- The file gets saved and downloaded. The downloaded filename has an additional
.csv
suffix, i.e.,test.csv.csv
Expected behavior
This happens because the jspreadsheet-ce
package uses the same shortcut JupyterLab uses to save a file, but it instead downloads it. Ideally, using JupyterLab's save shortcut shouldn't also download the file.
Context
- Python package version: 3.12
- Extension version: 0.7.1