Skip to content

Commit

Permalink
fix: correct ckeditor.js examples in the README.md, closes #160
Browse files Browse the repository at this point in the history
  • Loading branch information
nshenderov committed Sep 11, 2024
1 parent c151639 commit 9429278
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The language determination follows this logic:
<summary><b>ckeditor.js</b></summary>

```js
const CKEConfig = () => {
const CKEConfig = () => ({
presets:{
myCustomPreset:{
field: {
Expand Down Expand Up @@ -234,7 +234,7 @@ const CKEConfig = () => {
}
}
}
}
})
```

</details>
Expand All @@ -245,7 +245,7 @@ const CKEConfig = () => {
<summary><b>ckeditor.js</b></summary>

```js
const CKEConfig = () => {
const CKEConfig = () => ({
presets:{
default:{
styles:`
Expand Down Expand Up @@ -293,7 +293,7 @@ const CKEConfig = () => {
}
}
}
}
})
```

</details>
Expand Down Expand Up @@ -377,7 +377,7 @@ export default {
```js
// your-app/config/ckeditor.js

const CKEConfig = () => {
const CKEConfig = () => ({
presets: {
myCustomPreset:{
field: {
Expand Down Expand Up @@ -426,11 +426,11 @@ const CKEConfig = () => {
'undo', 'redo'
],

...
// ...
}
},
}
}
})
```

</details>
Expand Down

0 comments on commit 9429278

Please sign in to comment.