@_sh/strapi-plugin-ckeditor 1.0.5 → 1.0.8
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.
- package/README.md +3 -15
- package/admin/src/components/CKEditor/build/ckeditor.js +1 -1
- package/admin/src/components/CKEditor/build/ckeditor.js.map +1 -1
- package/admin/src/components/CKEditor/styles.js +35 -37
- package/package.json +8 -2
- package/admin/src/components/CKEditor/theme-colors.css +0 -333
- package/assets/ckeditor5.png +0 -0
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* [Thanks](#thanks)
|
|
17
17
|
|
|
18
18
|
## <a id="features"></a>✨ Features
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
* **Lots of default plugins:** for styling text, images, tables and so on.
|
|
21
21
|
* **Font color picker:** choose colors for font styling that's not defined in config from the color palette.
|
|
22
22
|
* **Upload adapter for Strapi:** for upload images to your library when you drop an image into the editor.
|
|
@@ -62,7 +62,7 @@ or
|
|
|
62
62
|
yarn build
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
## <a id="configuration"></a
|
|
65
|
+
## <a id="configuration"></a>⚙️ Configuration
|
|
66
66
|
CKEditor config should be defined in `config.editor` field.
|
|
67
67
|
|
|
68
68
|
Learn more about configuration from [official documentation](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/configuration.html).
|
|
@@ -230,18 +230,6 @@ module.exports = () => {
|
|
|
230
230
|
{
|
|
231
231
|
model: 'h3b',
|
|
232
232
|
view: {name: 'h3', classes: 'ck-heading_h3_b'}, title: 'H3 (border)', class: 'ck-heading_heading3', converterPriority: 'high'
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
model: 'h4b',
|
|
236
|
-
view: {name: 'h4', classes: 'ck-heading_h4_b'}, title: 'H4 (border)', class: 'ck-heading_heading4', converterPriority: 'high'
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
model: 'h5b',
|
|
240
|
-
view: {name: 'h5', classes: 'ck-heading_h5_b'}, title: 'H5 (border)', class: 'ck-heading_heading5', converterPriority: 'high'
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
model: 'h6b',
|
|
244
|
-
view: {name: 'h6', classes: 'ck-heading_h6_b'}, title: 'H6 (border)', class: 'ck-heading_heading6', converterPriority: 'high'
|
|
245
233
|
}
|
|
246
234
|
]
|
|
247
235
|
}
|
|
@@ -262,7 +250,7 @@ For theme colors switching this plugin uses css variables depending on html data
|
|
|
262
250
|
|
|
263
251
|
[**👔 Default styles**](https://github.com/nshenderov/strapi-plugin-ckeditor/blob/master/admin/src/components/CKEditor/styles.js#L3-L517)
|
|
264
252
|
|
|
265
|
-
[**🎨 Default colour variables**](https://github.com/nshenderov/strapi-plugin-ckeditor/blob/master/
|
|
253
|
+
[**🎨 Default colour variables**](https://github.com/nshenderov/strapi-plugin-ckeditor/blob/master/assets/theme-colors.css#L105-L333)
|
|
266
254
|
|
|
267
255
|
**Example of customization:**
|
|
268
256
|
```js
|