mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +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
|
return <Modal
|
||||||
afterClose={afterClose}
|
afterClose={afterClose}
|
||||||
|
backDropClick={false}
|
||||||
cancelLabel='Close'
|
cancelLabel='Close'
|
||||||
footer={<></>}
|
footer={<></>}
|
||||||
height='full'
|
height='full'
|
||||||
|
Loading…
Reference in New Issue
Block a user