Merge pull request #7 from zephrynis/4-bug-controls-on-unsaved-file-does-not-open-save-location-prompt

Show modal on Ctrl+Enter for new action in Editor
This commit is contained in:
Zephrynis
2025-08-07 00:38:41 +01:00
committed by GitHub

View File

@@ -364,6 +364,8 @@ const Editor = () => {
event.preventDefault();
if (action === 'edit') {
save();
} else if (action === 'new') {
setModalVisible(true);
}
}
};