Skip to content

editor: add options to export/import table <> csv#9169

Merged
thecodrr merged 6 commits intobetafrom
editor/table-export-import-csv
Jan 16, 2026
Merged

editor: add options to export/import table <> csv#9169
thecodrr merged 6 commits intobetafrom
editor/table-export-import-csv

Conversation

@01zulfi
Copy link
Copy Markdown
Member

@01zulfi 01zulfi commented Jan 7, 2026

notesnook.mp4

@01zulfi 01zulfi force-pushed the editor/table-export-import-csv branch from 50fe5dc to 7a62ec8 Compare January 7, 2026 06:56
Comment on lines +247 to +256

/**
* Export the current table as a CSV file
*/
exportTableAsCsv: () => ReturnType;

/**
* Import a CSV file into a new table at the current position
*/
importCsvToTable: () => ReturnType;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed to add these command types for checking perms.

Maybe I could implement these commands itself and use editor.commands.exportTableAsCsv instead of writing the login in table/actions.ts file, but not sure

@thecodrr thecodrr force-pushed the editor/table-export-import-csv branch from 4ef7811 to c7aa49e Compare January 16, 2026 05:58
@thecodrr thecodrr merged commit b373881 into beta Jan 16, 2026
1 check passed
@thecodrr thecodrr deleted the editor/table-export-import-csv branch January 16, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants