PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | js/components/common/ConfirmDialog.tsx +1 -6 3.9.6 → trunk View file →
@@ -27,15 +27,10 @@
27 27 open
28 28 ? <Modal
29 29 title={title}
30 30 onRequestClose={onCancel}
31 - closeButtonLabel={cancelLabel}
31 + closeButtonLabel={__('Close dialog', 'code-snippets')}
32 32 isDismissible={true}
33 - onKeyDown={event => {
34 - if ('Enter' === event.key) {
35 - onConfirm?.()
36 - }
37 - }}
38 33 >
39 34 {children}
40 35 <Flex direction="row" justify="flex-end">
41 36 <Button variant="tertiary" onClick={onCancel}>