Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let the field be editable even if the cke config was deleted #347

Open
wants to merge 2 commits into
base: 4.x
Choose a base branch
from

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
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.

1 participant