-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Replacing wysiwyg editor with a custom one doesn't work in Strapi 5 #2374
Comments
I ran into this problem today too |
PLEASE PLEASE do not overwrite the default editors, we have custom fields for a reason PLEASE use them. You can see an example in the following packages:
Here is the docs for custom fields: https://docs.strapi.io/dev-docs/custom-fields We no longer support overwriting default editors with custom ones, we only support custom fields for this. |
Hey @derrickmehaffy we may want to update https://docs.strapi.io/dev-docs/admin-panel-customization/wysiwyg-editor considering your response above. I would love to submit a PR to update it, but I don't think I understand the history and considerations sufficiently to make appropriate updates. |
I'll transfer this issue over to the docs repo to have that final point removed. |
Node Version
v18.20.2
NPM/Yarn/PNPM Version
10.5.0
Strapi Version
5.5.1
Operating System
MacOS
Database
PostgreSQL
Javascript or Typescript
Javascript
Reproduction URL
No response
Bug Description
While replacing the default wysiwyg editor with a custom plugin ckEditor in strapi v5 facing challenges and cannot able see the custom field in content type builder using addFields adding the custom field to replace the existing richtext. When i try to register as a plugin it's working and i can able to add as custom field but i want to replace the existing or default wysiwyg editor. I was using same code in strapi v4 it's working fine.
Steps to Reproduce
1.Update to strapi v4 to v5
Expected Behavior
I need to replace the existing wysiwyg editor with CKEditor5 in strapi version 5
Logs
Code Snippets
plugins/wysiwyg/src/admin/components/index.jsx
plugins/wysiwyg/src/index.js
config/plugin.js
Media
No response
Additional information
No response
Confirmation Checklist
The text was updated successfully, but these errors were encountered: