🐛 | Admin Toolbar | CKEditor 5 not working on custom block creation/editing if both Admin Toolbar Search and JS aggregation are activated
Can reproduce this issue. Tried admin_toolbar 3.3.0 and also 3.2.1, both have the same issue. When javascript aggegation is enabled, ckeditor will not be loaded on /block/add. Also dropdown menu's in toolbar are not working.
Adding /block/add/* @ /admin/config/development/performance to prevent minification on those pages does not solve this issue.
Errors in console:
Uncaught TypeError: t.widget is not a function
Uncaught TypeError: Cannot set properties of undefined (setting 'ckeditor5')
Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
Uncaught TypeError: Drupal.toolbar.ToolbarModel is not a constructor