File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -406,9 +406,4 @@ export default {
406
406
direction: rtl;
407
407
}
408
408
}
409
- // #11693 reka-ui sets pointer-events: none on body when modal is opened
410
- // which prevented to click on tinyMCE modals
411
- body .tox - tinymce- aux .tox {
412
- pointer- events: auto;
413
- }
414
409
< / style>
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ const closeModalButton = inject('closeModalButton');
123
123
// #11693 When tinyMCE modal is opened inside modal, ignore outside clicks to prevent closing the current modals
124
124
function handleOutsideEvent (event ) {
125
125
// Check if the target is part of TinyMCE's dialog
126
- if (event .target .closest (' .tox-tinymce-aux' )) {
126
+ if (event .target .closest (' .tox-tinymce-aux, .ui-widget ' )) {
127
127
event .preventDefault (); // Bypass the focus trap for TinyMCE elements
128
128
}
129
129
}
@@ -187,3 +187,15 @@ html[dir='rtl'] .DialogContent[data-state='closed'] {
187
187
animation : sideModalSlideOutRtl 450ms ease-in-out ;
188
188
}
189
189
</style >
190
+ <style >
191
+ /* * #11693 reka-ui sets pointer-events: none on body when modal is opened */
192
+ /* * Addresses jquery widgets, like the date selector */
193
+ .ui-widget {
194
+ pointer-events : auto ;
195
+ }
196
+
197
+ /* * Addresses tinyMCE modals */
198
+ body .tox-tinymce-aux.tox {
199
+ pointer-events : auto ;
200
+ }
201
+ </style >
You can’t perform that action at this time.
0 commit comments