Problem/Motivation
CKEditor 5 is not working in a custom block.
Steps to reproduce
- Install Drupal 9.5.1.
- Add custom block.
Proposed resolution
Fix issue:
- Uncaught TypeError: Drupal.editors is undefined
- Uncaught TypeError: t.widget is not a function
CKEditor 5 is not working in a custom block.
Fix issue: