mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05: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
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ const CodeModal: React.FC<CodeModalProps> = ({afterClose}) => {
|
|||
|
||||
return <Modal
|
||||
afterClose={afterClose}
|
||||
backDropClick={false}
|
||||
cancelLabel='Close'
|
||||
footer={<></>}
|
||||
height='full'
|
||||
|
|
Loading…
Add table
Reference in a new issue