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

Strapi V5: CKEditor custom field does not display correct label, instead always shows "CKEditor" #161

Closed
albertshrpv opened this issue Sep 25, 2024 · 0 comments
Labels
issue: bug Something isn't working priority: high

Comments

@albertshrpv
Copy link

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:

  1. Create a Content-Type or Component with a CKEditor Custom Field.
  2. Create an Entity of the Content-Type or use the Component
  3. 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.

Screenshots
image

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Something isn't working priority: high
Projects
None yet
Development

No branches or pull requests

2 participants