Roslovets-Inc / strapi-plugin-ckeditor5

Replace Strapi default WYSIWYG editor with enhanced build of CKEditor 5
https://www.npmjs.com/package/strapi-plugin-ckeditor5
247 stars 59 forks source link

Strapi crashes after adding strapi-plugin-ckeditor5. #47

Open shahzaibgeekshub opened 2 years ago

shahzaibgeekshub commented 2 years ago

I tried to remove strapi default markdown editor and trying to add strapi-plugin-ckeditor5 but strapi crashes and screen go white when i open any entry in content manager which includes rich text editor field.

Here is the error. image

Here is my package.json

{ "name": project-name", "private": true, "version": "0.1.0", "description": "A Strapi application", "scripts": { "develop": "strapi develop", "start": "strapi start", "build": "strapi build", "strapi": "strapi" }, "devDependencies": {}, "dependencies": { "@strapi/plugin-i18n": "4.1.2", "@strapi/plugin-users-permissions": "4.1.2", "@strapi/provider-email-sendgrid": "^4.1.2", "@strapi/strapi": "4.1.2", "axios": "^0.26.1", "bcrypt": "^5.0.1", "lodash": "^4.17.21", "pg": "^8.7.3", "pg-connection-string": "^2.5.0", "sqlite3": "5.0.2", "strapi-plugin-ckeditor5": "^2.1.1-rc.1", "strapi-utils": "^3.6.8", "underscore": "^1.13.2" }, "author": { "name": "A Strapi developer" }, "strapi": { "uuid": "my-project's uuid" }, "engines": { "node": ">=12.x.x <=16.x.x", "npm": ">=6.0.0" }, "license": "MIT" }

This is what i have done so far.

  1. Delete node_modules
  2. Delete .cache
  3. Delete build
  4. Delete package-lock.json or yarn.lock
  5. Reinstall node modules
  6. Rebuild admin
yamalweb commented 2 years ago

I tried to remove strapi default markdown editor and trying to add strapi-plugin-ckeditor5 but strapi crashes and screen go white when i open any entry in content manager which includes rich text editor field.

Here is the error. image

Here is my package.json

{ "name": project-name", "private": true, "version": "0.1.0", "description": "A Strapi application", "scripts": { "develop": "strapi develop", "start": "strapi start", "build": "strapi build", "strapi": "strapi" }, "devDependencies": {}, "dependencies": { "@strapi/plugin-i18n": "4.1.2", "@strapi/plugin-users-permissions": "4.1.2", "@strapi/provider-email-sendgrid": "^4.1.2", "@strapi/strapi": "4.1.2", "axios": "^0.26.1", "bcrypt": "^5.0.1", "lodash": "^4.17.21", "pg": "^8.7.3", "pg-connection-string": "^2.5.0", "sqlite3": "5.0.2", "strapi-plugin-ckeditor5": "^2.1.1-rc.1", "strapi-utils": "^3.6.8", "underscore": "^1.13.2" }, "author": { "name": "A Strapi developer" }, "strapi": { "uuid": "my-project's uuid" }, "engines": { "node": ">=12.x.x <=16.x.x", "npm": ">=6.0.0" }, "license": "MIT" }

This is what i have done so far.

  1. Delete node_modules
  2. Delete .cache
  3. Delete build
  4. Delete package-lock.json or yarn.lock
  5. Reinstall node modules
  6. Rebuild admin

I am fixed this bug upgrade strapi to latest version

vinayg-cp commented 2 years ago

I tried to remove strapi default markdown editor and trying to add strapi-plugin-ckeditor5 but strapi crashes and screen go white when i open any entry in content manager which includes rich text editor field. Here is the error. image Here is my package.json { "name": project-name", "private": true, "version": "0.1.0", "description": "A Strapi application", "scripts": { "develop": "strapi develop", "start": "strapi start", "build": "strapi build", "strapi": "strapi" }, "devDependencies": {}, "dependencies": { "@strapi/plugin-i18n": "4.1.2", "@strapi/plugin-users-permissions": "4.1.2", "@strapi/provider-email-sendgrid": "^4.1.2", "@strapi/strapi": "4.1.2", "axios": "^0.26.1", "bcrypt": "^5.0.1", "lodash": "^4.17.21", "pg": "^8.7.3", "pg-connection-string": "^2.5.0", "sqlite3": "5.0.2", "strapi-plugin-ckeditor5": "^2.1.1-rc.1", "strapi-utils": "^3.6.8", "underscore": "^1.13.2" }, "author": { "name": "A Strapi developer" }, "strapi": { "uuid": "my-project's uuid" }, "engines": { "node": ">=12.x.x <=16.x.x", "npm": ">=6.0.0" }, "license": "MIT" } This is what i have done so far.

  1. Delete node_modules
  2. Delete .cache
  3. Delete build
  4. Delete package-lock.json or yarn.lock
  5. Reinstall node modules
  6. Rebuild admin

I am fixed this bug upgrade strapi to latest version

image

I have the same issue on 4.1.5, which version did you upgrade to?

tefkah commented 2 years ago

I've had the same issue, you can pull from https://github.com/ThomasFKJorna/strapi-plugin-ckeditor5 instead for a temporary fix.