Skip to content

Conversation

@i-just
Copy link
Contributor

@i-just i-just commented Jan 2, 2025

Description

When a CKEditor config is deleted, the fields that use this config will not be editable anymore. Opening them will produce the error "Invalid CKEditor config UUID: [uid]".

Leaving you unable to edit the field to rectify the situation.

Fix: catch the error and allow the field edit page to display without the configuration selected. That way you can choose/create a new config.

Note: Craft v4, you can already edit the field if the CKE config for it no longer exists; except there, the config will default to the first one on the list.

Related issues

#344

@i-just i-just requested a review from brandonkelly as a code owner January 2, 2025 13:47
@brandonkelly brandonkelly merged commit d938b5e into 4.x Jan 23, 2025
3 checks passed
@brandonkelly brandonkelly deleted the bugfix/344-field-with-deleted-cke-config branch January 23, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants