-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Description
The fields with the type "CKEditor" don't seem to support the "Editability Conditions" feature.
Normally if the user does not fit the editability conditions, I would expect them to be able to see the field value but not to be able to change it. Currently, if the user does not fit the conditions, any CKEditor field simply doesn't show up at all.
To me, it seems like a mistake since all the other core Craft field types do display the value of the field instead of hiding it.
From what I can read, it looks like CKEditor does provide a "Read-only mode" to disable the field. https://ckeditor.com/docs/ckeditor5/latest/features/read-only.html
Steps to reproduce
- Create a field of type CKEditor in a Entry type.
- Add an Editability Conditions for the current user that would prevent them from editing the field.
e.g. "Email" - "equals" - "not-my-email@example.com" - Go to "Entries" in the Craft control panel
- Click "New entry"
- Notice that the field is missing
Additional info
- Craft version: Craft Solo 5.8.16
- PHP version: 8.3.19
- Database driver & version: MySQL 8.8.4
- Plugins & versions: CKEditor 4.10.1