Strapi V5: CKEditor custom field does not display correct label, instead always shows "CKEditor"
albertshrpv opened this issue · 0 comments
Describe the bug
When using the CKEditor Custom Field in a Strapi Content-Type or Component the field name is not displayed, instead it always shows "CKEditor" as can be seen in the screenshot below. Customizing the "Label" through the "Configure the view" option also doesn't change the displayed label. This is a big issue when having multiple CKEditor Custom Fields in the same Content-Type or Component. The only workaround can be seen in the attached screenshot, where the second CKEditor field has a description from "Configure the view" that is displayed under the field.
To Reproduce
Steps to reproduce the behavior:
- Create a Content-Type or Component with a CKEditor Custom Field.
- Create an Entity of the Content-Type or use the Component
- CKEditor field always has "CKEditor" displayed as field label, not the actual field name or cusotm label from "Configure the view"
Expected behavior
The actual field name or the custom label from "Configure the view" if it exists should be displayed as the label.
please complete the following information:
- package.json:
{
"name": "***",
"version": "0.1.0",
"private": true,
"description": "A Strapi application",
"scripts": {
"build": "strapi build",
"deploy": "strapi deploy",
"develop": "strapi develop",
"start": "strapi start",
"strapi": "strapi"
},
"dependencies": {
"@_sh/strapi-plugin-ckeditor": "^4.0.1",
"@strapi/plugin-cloud": "5.0.0",
"@strapi/plugin-users-permissions": "5.0.0",
"@strapi/strapi": "5.0.0",
"mysql2": "3.9.4",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.0.0",
"strapi-plugin-navigation": "^3.0.0-beta.0",
"styled-components": "^6.0.0"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5"
},
"engines": {
"node": ">=18.0.0 <=20.x.x",
"npm": ">=6.0.0"
},
"strapi": {
"uuid": "fb37fe92-cc9a-4a84-b946-8d16df8a0fbc"
}
}
- Node Version: v20.17.0