Description
When trying to add a CKEditor field to a Category set, with a Link type added to the toolbar, the field does not load in the CMS during content entry due to the following JS error:
Uncaught (in promise) TypeError: this._linkUI._createToolbarLinkButton is not a function
at n.value (linkui.js:57:20)
at n.value (linkui.js:41:10)
If the Link field is removed from the CKEditor config's toolbar, the error is not present and the field loads as expected in the CMS.
Steps to reproduce
- Create a new category set in Craft
- Add a CKEditor field with a Simple config that includes the Link type in the toolbar
- Add the CKEditor field to the category set's field layout
- Create or edit a category in the category set in the CMS
Additional info
- Craft version: 5.7.8.2
- PHP version: 8.2
- Database driver & version: MySQL 8.0 (DDEV)
- Plugins & versions: CKEditor version 4.9.0

