@_sh/strapi-plugin-ckeditor 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -157,7 +157,7 @@ The language determination follows this logic:
157
157
  <summary><b>ckeditor.js</b></summary>
158
158
 
159
159
  ```js
160
- const CKEConfig = () => {
160
+ const CKEConfig = () => ({
161
161
  presets:{
162
162
  myCustomPreset:{
163
163
  field: {
@@ -234,7 +234,7 @@ const CKEConfig = () => {
234
234
  }
235
235
  }
236
236
  }
237
- }
237
+ })
238
238
  ```
239
239
 
240
240
  </details>
@@ -245,7 +245,7 @@ const CKEConfig = () => {
245
245
  <summary><b>ckeditor.js</b></summary>
246
246
 
247
247
  ```js
248
- const CKEConfig = () => {
248
+ const CKEConfig = () => ({
249
249
  presets:{
250
250
  default:{
251
251
  styles:`
@@ -293,7 +293,7 @@ const CKEConfig = () => {
293
293
  }
294
294
  }
295
295
  }
296
- }
296
+ })
297
297
  ```
298
298
 
299
299
  </details>
@@ -377,7 +377,7 @@ export default {
377
377
  ```js
378
378
  // your-app/config/ckeditor.js
379
379
 
380
- const CKEConfig = () => {
380
+ const CKEConfig = () => ({
381
381
  presets: {
382
382
  myCustomPreset:{
383
383
  field: {
@@ -426,11 +426,11 @@ const CKEConfig = () => {
426
426
  'undo', 'redo'
427
427
  ],
428
428
 
429
- ...
429
+ // ...
430
430
  }
431
431
  },
432
432
  }
433
- }
433
+ })
434
434
  ```
435
435
 
436
436
  </details>
@@ -616,7 +616,7 @@ Example of the new configuration file:
616
616
  <summary><b>ckeditor.js</b></summary>
617
617
 
618
618
  ```js
619
- const CKEConfig = () => {
619
+ const CKEConfig = () => ({
620
620
  presets:{
621
621
  myCustomPreset:{
622
622
  field: {
@@ -693,7 +693,7 @@ const CKEConfig = () => {
693
693
  }
694
694
  }
695
695
  }
696
- }
696
+ })
697
697
  ```
698
698
 
699
699
  </details>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_sh/strapi-plugin-ckeditor",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Unofficial integration)",
5
5
  "private": false,
6
6
  "keywords": [