|
@@ -9,10 +9,33 @@ module.exports = {
|
|
|
destinationPath: './build/',
|
|
destinationPath: './build/',
|
|
|
editor: '@ckeditor/ckeditor5-editor-classic/src/classic',
|
|
editor: '@ckeditor/ckeditor5-editor-classic/src/classic',
|
|
|
plugins: [
|
|
plugins: [
|
|
|
- '@ckeditor/ckeditor5-presets/src/article'
|
|
|
|
|
|
|
+ '@ckeditor/ckeditor5-basic-styles/src/bold',
|
|
|
|
|
+ '@ckeditor/ckeditor5-basic-styles/src/italic',
|
|
|
|
|
+ '@ckeditor/ckeditor5-clipboard/src/clipboard',
|
|
|
|
|
+ '@ckeditor/ckeditor5-enter/src/enter',
|
|
|
|
|
+ '@ckeditor/ckeditor5-heading/src/heading',
|
|
|
|
|
+ '@ckeditor/ckeditor5-image/src/image',
|
|
|
|
|
+ '@ckeditor/ckeditor5-image/src/imagecaption',
|
|
|
|
|
+ '@ckeditor/ckeditor5-image/src/imagestyle',
|
|
|
|
|
+ '@ckeditor/ckeditor5-image/src/imagetoolbar',
|
|
|
|
|
+ '@ckeditor/ckeditor5-link/src/link',
|
|
|
|
|
+ '@ckeditor/ckeditor5-list/src/list',
|
|
|
|
|
+ '@ckeditor/ckeditor5-paragraph/src/paragraph',
|
|
|
|
|
+ '@ckeditor/ckeditor5-typing/src/typing',
|
|
|
|
|
+ '@ckeditor/ckeditor5-undo/src/undo',
|
|
|
],
|
|
],
|
|
|
moduleName: 'ClassicEditor',
|
|
moduleName: 'ClassicEditor',
|
|
|
editorConfig: {
|
|
editorConfig: {
|
|
|
- toolbar: [ 'image', 'headings' ]
|
|
|
|
|
|
|
+ toolbar: [
|
|
|
|
|
+ 'headings',
|
|
|
|
|
+ 'bold',
|
|
|
|
|
+ 'italic',
|
|
|
|
|
+ 'link',
|
|
|
|
|
+ 'unlink',
|
|
|
|
|
+ 'bulletedList',
|
|
|
|
|
+ 'numberedList',
|
|
|
|
|
+ 'undo',
|
|
|
|
|
+ 'redo'
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|