Skip to content

Commit 4ff71b5

Browse files
committed
IBX-9468: Fixed CKEditor plugin example
1 parent 72718a0 commit 4ff71b5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/content_management/rich_text/extend_online_editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ A CKEditor plugin is installed locally by using `yarn add ` or `npm install`, an
387387
A local installation looks like:
388388

389389
```bash
390-
yarn add @ckeditor/ckeditor5-special-characters
390+
yarn add @ckeditor/ckeditor5-special-characters@40.2.0
391391
```
392392

393393
The CKEditor plugin must be added to the `ibexa.richText.CKEditor.extraPlugins` array.

docs/update_and_migration/from_4.5/update_from_4.5.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,29 +104,31 @@ First, run:
104104
rm symfony.lock
105105
composer require ibexa/headless:[[= latest_tag_4_6 =]] --with-all-dependencies --no-scripts
106106
composer recipes:install ibexa/headless --force -v
107-
# Bump CKEditor dependencies
107+
# Update CKEditor dependencies
108108
yarn add @ckeditor/ckeditor5-alignment@^40.1.0 @ckeditor/ckeditor5-build-inline@^40.1.0 @ckeditor/ckeditor5-dev-utils@^39.0.0 @ckeditor/ckeditor5-widget@^40.1.0 @ckeditor/ckeditor5-theme-lark@^40.1.0 @ckeditor/ckeditor5-code-block@^40.1.0
109109
```
110110
=== "[[= product_name_exp =]]"
111111

112112
``` bash
113113
composer require ibexa/experience:[[= latest_tag_4_6 =]] --with-all-dependencies --no-scripts
114114
composer recipes:install ibexa/experience --force -v
115-
# Bump CKEditor dependencies
115+
# Update CKEditor dependencies
116116
yarn add @ckeditor/ckeditor5-alignment@^40.1.0 @ckeditor/ckeditor5-build-inline@^40.1.0 @ckeditor/ckeditor5-dev-utils@^39.0.0 @ckeditor/ckeditor5-widget@^40.1.0 @ckeditor/ckeditor5-theme-lark@^40.1.0 @ckeditor/ckeditor5-code-block@^40.1.0
117117
```
118118
=== "[[= product_name_com =]]"
119119

120120
``` bash
121121
composer require ibexa/commerce:[[= latest_tag_4_6 =]] --with-all-dependencies --no-scripts
122122
composer recipes:install ibexa/commerce --force -v
123-
# Bump CKEditor dependencies
123+
# Update CKEditor dependencies
124124
yarn add @ckeditor/ckeditor5-alignment@^40.1.0 @ckeditor/ckeditor5-build-inline@^40.1.0 @ckeditor/ckeditor5-dev-utils@^39.0.0 @ckeditor/ckeditor5-widget@^40.1.0 @ckeditor/ckeditor5-theme-lark@^40.1.0 @ckeditor/ckeditor5-code-block@^40.1.0
125125
```
126126

127127
The `recipes:install` command installs new YAML configuration files.
128128
Review the old YAML files and move your custom configuration to the relevant new files.
129129

130+
If you're using custom CKEditor plugins, update them as well to use the same version range for all CKEditor dependencies.
131+
130132
## Remove `node_modules` and `yarn.lock`
131133

132134
Next, remove `node_modules` and `yarn.lock` before running `composer run post-update-cmd`,

0 commit comments

Comments
 (0)