mirror of
https://github.com/blueprint-community/extension-pteromonaco.git
synced 2026-02-18 19:41:53 +00:00
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:
@@ -364,6 +364,8 @@ const Editor = () => {
|
||||
event.preventDefault();
|
||||
if (action === 'edit') {
|
||||
save();
|
||||
} else if (action === 'new') {
|
||||
setModalVisible(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user