Skip to content

Commit

Permalink
chore: prevent issues with ckeditor in lightbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed May 28, 2024
1 parent 3e516d2 commit 9a77b19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/ColdTrick/WidgetManager/Menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public static function addWidgetPageEntityMenuItems(\Elgg\Event $event) {
'icon' => 'edit',
'href' => "ajax/form/widget_manager/widget_page?guid={$entity->guid}",
'link_class' => 'elgg-lightbox',
'data-colorbox-opts' => json_encode([
'trapFocus' => false,
]),
]);

return $result;
Expand Down

0 comments on commit 9a77b19

Please sign in to comment.