You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/add-ons/rte.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ The following are the buttons that can be enabled in tool set to manipulate the
73
73
<li>Superscript</li>
74
74
<li>Block quote</li>
75
75
<li>Code</li>
76
+
<li>Code block</li>
76
77
<li>Heading / Format</li>
77
78
<li>Remove formatting (CKEditor only)</li>
78
79
<li>Style (Redactor only)</li>
@@ -95,6 +96,7 @@ The following are the buttons that can be enabled in tool set to manipulate the
95
96
<li>"Read More" separator</li>
96
97
<li>Font color / background</li>
97
98
<li>Fullscreen (Redactor only)</li>
99
+
<li>HTML Source editing</li>
98
100
</ul>
99
101
100
102
#### Custom Stylesheet
@@ -148,6 +150,7 @@ To delete a tool set, check the tool set's checkbox in the tool set table listin
148
150
149
151
-**Default RTE tool set** - select the tool set that will be selected by default when creating a field.
150
152
-**File Browser** - select file browser that will be used when browsing for images and files from RTE fields. ExpressionEngine's FilePicker is used by default, third-party add-ons can provide their own filepickers
153
+
-**Use custom CKEditor build** - Allows using custom CKEditor build with extra plugins. If enabled, RTE instances running CKEditor will be built using the script in `themes/user/rte/javascript/` folder.
151
154
152
155
NOTE: **Note:** If using the [Multiple Site Manager](msm/overview.md), this preference is per-site.
153
156
@@ -170,7 +173,9 @@ NOTE: **Warning** Doing this requires advanced development skills.
- Follow the installation instructions for the plugin itself
174
-
- Make your changes to `js-src\ckeditor5-build-classic\src\ckeditor.js` and other files as necessary.
176
+
- Follow the installation instructions for the extra CKEditor plugins that you need
177
+
- Make your changes to `js-src/ckeditor5-build-classic/src/ckeditor.js` and other files as necessary.
175
178
- Run the command `npm run build:ckeditor`
176
-
- Copy the files from `themes/ee/asset/javascript/src/fields/rte/ckeditor` to same folder on your EE installation
179
+
- Copy the files from `themes/ee/asset/javascript/src/fields/rte/ckeditor` to `themes/user/rte/javascript/` folder on your EE installation
180
+
181
+
TIP: Buttons provided by extra plugins might be not availble with visual toolbar builder. You will need to use Advanced Configuration JSON file to add those.
0 commit comments