Skip to content

Commit dbf67e1

Browse files
committed
Fix CKEditor5 link editing in modal dialog
Fixes https://lab.civicrm.org/extensions/ckeditor5/-/issues/4
1 parent 86cbdb2 commit dbf67e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/Common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ if (!CRM.vars) CRM.vars = {};
185185

186186
// Workaround for https://github.com/ivaynberg/select2/issues/1246
187187
$.ui.dialog.prototype._allowInteraction = function(e) {
188-
return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop, .cke_dialog, #civicrm-menu').length;
188+
return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop, .cke_dialog, .ck-balloon-panel, #civicrm-menu').length;
189189
};
190190

191191
// Implements jQuery hook.prop

0 commit comments

Comments
 (0)