This repository was archived by the owner on Jun 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed
Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ module.exports = {
1616 plugins : [
1717 '@ckeditor/ckeditor5-essentials/src/essentials' ,
1818
19+ '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter' ,
1920 '@ckeditor/ckeditor5-autoformat/src/autoformat' ,
2021 '@ckeditor/ckeditor5-basic-styles/src/bold' ,
2122 '@ckeditor/ckeditor5-basic-styles/src/italic' ,
2223 '@ckeditor/ckeditor5-block-quote/src/blockquote' ,
24+ '@ckeditor/ckeditor5-easy-image/src/easyimage' ,
2325 '@ckeditor/ckeditor5-heading/src/heading' ,
2426 '@ckeditor/ckeditor5-image/src/image' ,
2527 '@ckeditor/ckeditor5-image/src/imagecaption' ,
@@ -28,6 +30,7 @@ module.exports = {
2830 '@ckeditor/ckeditor5-link/src/link' ,
2931 '@ckeditor/ckeditor5-list/src/list' ,
3032 '@ckeditor/ckeditor5-paragraph/src/paragraph' ,
33+ '@ckeditor/ckeditor5-upload/src/imageupload' ,
3134 ] ,
3235
3336 // UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
Original file line number Diff line number Diff line change 1414 " build"
1515 ],
1616 "devDependencies" : {
17+ "@ckeditor/ckeditor5-adapter-ckfinder" : " *" ,
1718 "@ckeditor/ckeditor5-autoformat" : " ^0.6.0" ,
1819 "@ckeditor/ckeditor5-basic-styles" : " ^0.9.0" ,
1920 "@ckeditor/ckeditor5-block-quote" : " ^0.2.0" ,
2021 "@ckeditor/ckeditor5-dev-utils" : " ^4.0.0" ,
2122 "@ckeditor/ckeditor5-dev-webpack-plugin" : " ^2.0.11" ,
23+ "@ckeditor/ckeditor5-easy-image" : " *" ,
2224 "@ckeditor/ckeditor5-editor-balloon" : " ^0.1.0" ,
2325 "@ckeditor/ckeditor5-essentials" : " ^0.3.0" ,
2426 "@ckeditor/ckeditor5-heading" : " ^0.10.0" ,
2527 "@ckeditor/ckeditor5-image" : " ^0.7.0" ,
2628 "@ckeditor/ckeditor5-link" : " ^0.8.0" ,
2729 "@ckeditor/ckeditor5-list" : " ^0.7.0" ,
2830 "@ckeditor/ckeditor5-paragraph" : " ^0.9.0" ,
31+ "@ckeditor/ckeditor5-upload" : " *" ,
2932 "babel-minify-webpack-plugin" : " ^0.2.0" ,
3033 "css-loader" : " ^0.28.5" ,
3134 "node-sass" : " ^4.5.3" ,
Original file line number Diff line number Diff line change 55
66import BalloonEditorBase from '@ckeditor/ckeditor5-editor-balloon/src/ballooneditor' ;
77import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials' ;
8+ import UploadadapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter' ;
89import AutoformatPlugin from '@ckeditor/ckeditor5-autoformat/src/autoformat' ;
910import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold' ;
1011import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic' ;
1112import BlockquotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote' ;
13+ import EasyimagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage' ;
1214import HeadingPlugin from '@ckeditor/ckeditor5-heading/src/heading' ;
1315import ImagePlugin from '@ckeditor/ckeditor5-image/src/image' ;
1416import ImagecaptionPlugin from '@ckeditor/ckeditor5-image/src/imagecaption' ;
@@ -17,24 +19,28 @@ import ImagetoolbarPlugin from '@ckeditor/ckeditor5-image/src/imagetoolbar';
1719import LinkPlugin from '@ckeditor/ckeditor5-link/src/link' ;
1820import ListPlugin from '@ckeditor/ckeditor5-list/src/list' ;
1921import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph' ;
22+ import ImageuploadPlugin from '@ckeditor/ckeditor5-upload/src/imageupload' ;
2023
2124export default class BalloonEditor extends BalloonEditorBase { }
2225
2326BalloonEditor . build = {
2427 plugins : [
2528 EssentialsPlugin ,
29+ UploadadapterPlugin ,
2630 AutoformatPlugin ,
2731 BoldPlugin ,
2832 ItalicPlugin ,
2933 BlockquotePlugin ,
34+ EasyimagePlugin ,
3035 HeadingPlugin ,
3136 ImagePlugin ,
3237 ImagecaptionPlugin ,
3338 ImagestylePlugin ,
3439 ImagetoolbarPlugin ,
3540 LinkPlugin ,
3641 ListPlugin ,
37- ParagraphPlugin
42+ ParagraphPlugin ,
43+ ImageuploadPlugin
3844 ] ,
3945 config : {
4046 toolbar : [
You can’t perform that action at this time.
0 commit comments