mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
🐛 Fixed outside click exiting Code Injection modal (#19424)
no issue - fixed a bug causing the full screen code injection to close when clicking out side of it, which could cause the loss of unsaved changes.
This commit is contained in:
parent
85f3ef3d14
commit
3c4b981674
@ -65,6 +65,7 @@ const CodeModal: React.FC<CodeModalProps> = ({afterClose}) => {
|
||||
|
||||
return <Modal
|
||||
afterClose={afterClose}
|
||||
backDropClick={false}
|
||||
cancelLabel='Close'
|
||||
footer={<></>}
|
||||
height='full'
|
||||
|
Loading…
Reference in New Issue
Block a user