You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have several CK Editor fields in our site, and they all return null when we fetch our Element API endpoints. They are, to be fair, part of a Neo field. However it works fine if I use graphql to request the entry.
I also tried adding a CK Editor field directly to a section, so not inside a Neo-field, and it still returns null.
patrikalienus
changed the title
[4.x] CK Editor fields all return null in Element API
[Craft 4.x] CK Editor fields all return null in Element API
Oct 1, 2024
Nope, disregard this. I thought I had checked everything thrice, but I missed a method I have that transforms data. It didn't have support for the CK Editor field type.
Description
We have several CK Editor fields in our site, and they all return
null
when we fetch our Element API endpoints. They are, to be fair, part of a Neo field. However it works fine if I use graphql to request the entry.I also tried adding a CK Editor field directly to a section, so not inside a Neo-field, and it still returns
null
.Steps to reproduce
Additional info
"craftcms/azure-blob": "2.1.0",
"craftcms/ckeditor": "3.9.0",
"craftcms/element-api": "4.1.0",
"craftcms/redactor": "3.1.0",
"goldinteractive/craft-publisher": "3.0.1",
"sebastianlenz/linkfield": "2.1.5",
"spicyweb/craft-neo": "4.2.13",
"verbb/navigation": "2.1.1"
The text was updated successfully, but these errors were encountered: