nshenderov / strapi-plugin-ckeditor

Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Unofficial integration)
https://www.npmjs.com/package/@_sh/strapi-plugin-ckeditor
MIT License
95 stars 58 forks source link

An error occurred when I upgraded from 2.0.4 to 2.1.0,Cannot read properties of undefined (reading 'editorConfig') #131

Closed fuxianwei closed 8 months ago

fuxianwei commented 8 months ago

Describe the bug An error occurred when I upgraded from 2.0.4 to 2.1.0,The browser console reports the following error Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'editorConfig') To Reproduce Steps to reproduce the behavior:

  1. I upgraded from 2.0.4 to 2.1.0
  2. Run yarn build && yarn develop as follows
  3. See error Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'editorConfig'),ckeditor cannot complete loading

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

截屏2024-02-01 13 57 05

please complete the following information:

nshenderov commented 8 months ago

b9655d3 is related to this issue. Since version 2.1.0 fixes this typo, namings are now different from the previous ones. If you've been using some of the default balloon versions, you might need to update your collection types after updating to 2.1.0.

fuxianwei commented 8 months ago

Thank you for your help, the problem has been solved!