rajatdangat / strapi-plugin-ckeditor5

9 stars 4 forks source link

Custom configuration being ignored #2

Open djmtype opened 2 years ago

djmtype commented 2 years ago

I'm following this setup from the original plugin (https://www.npmjs.com/package/strapi-plugin-ckeditor5):

  1. Copy template config file node_modules/strapi-plugin-ckeditor5/admin/src/config/ckeditor.js to extensions/ckeditor5/admin/src/config

  2. Set up extensions/ckeditor5/admin/src/config/ckeditor.js (see CKEditor configuration guide)

  3. Rebuild Strapi

But, my ckeditor.js config file seems to be ignored. I also tried changing the location to extensions/strapi-plugin-ckeditor5/admin/src/config

djmtype commented 2 years ago

It looks like extensions directory in Strapi v4 is located under src, but still can't get this plugin to respect my ckeditor.js file.

idoliki commented 2 years ago

Honestly, I cloned the repo and made the plugin myself with Strapi cli, then moved the contents from the repo in the plugin folder. That way you maintain it yourself and it's a lot easier to do customizations. @djmtype