This repository was archived by the owner on Jun 26, 2020. It is now read-only.
File tree 5 files changed +15
-3
lines changed
5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ module.exports = {
16
16
plugins : [
17
17
'@ckeditor/ckeditor5-essentials/src/essentials' ,
18
18
19
+ '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter' ,
19
20
'@ckeditor/ckeditor5-autoformat/src/autoformat' ,
20
21
'@ckeditor/ckeditor5-basic-styles/src/bold' ,
21
22
'@ckeditor/ckeditor5-basic-styles/src/italic' ,
22
23
'@ckeditor/ckeditor5-block-quote/src/blockquote' ,
24
+ '@ckeditor/ckeditor5-easy-image/src/easyimage' ,
23
25
'@ckeditor/ckeditor5-heading/src/heading' ,
24
26
'@ckeditor/ckeditor5-image/src/image' ,
25
27
'@ckeditor/ckeditor5-image/src/imagecaption' ,
@@ -28,6 +30,7 @@ module.exports = {
28
30
'@ckeditor/ckeditor5-link/src/link' ,
29
31
'@ckeditor/ckeditor5-list/src/list' ,
30
32
'@ckeditor/ckeditor5-paragraph/src/paragraph' ,
33
+ '@ckeditor/ckeditor5-upload/src/imageupload' ,
31
34
] ,
32
35
33
36
// 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 14
14
" build"
15
15
],
16
16
"devDependencies" : {
17
+ "@ckeditor/ckeditor5-adapter-ckfinder" : " *" ,
17
18
"@ckeditor/ckeditor5-autoformat" : " ^0.6.0" ,
18
19
"@ckeditor/ckeditor5-basic-styles" : " ^0.9.0" ,
19
20
"@ckeditor/ckeditor5-block-quote" : " ^0.2.0" ,
20
21
"@ckeditor/ckeditor5-dev-utils" : " ^4.0.0" ,
21
22
"@ckeditor/ckeditor5-dev-webpack-plugin" : " ^2.0.11" ,
23
+ "@ckeditor/ckeditor5-easy-image" : " *" ,
22
24
"@ckeditor/ckeditor5-editor-classic" : " ^0.8.0" ,
23
25
"@ckeditor/ckeditor5-essentials" : " ^0.3.0" ,
24
26
"@ckeditor/ckeditor5-heading" : " ^0.10.0" ,
25
27
"@ckeditor/ckeditor5-image" : " ^0.7.0" ,
26
28
"@ckeditor/ckeditor5-link" : " ^0.8.0" ,
27
29
"@ckeditor/ckeditor5-list" : " ^0.7.0" ,
28
30
"@ckeditor/ckeditor5-paragraph" : " ^0.9.0" ,
31
+ "@ckeditor/ckeditor5-upload" : " *" ,
29
32
"babel-minify-webpack-plugin" : " ^0.2.0" ,
30
33
"css-loader" : " ^0.28.5" ,
31
34
"node-sass" : " ^4.5.3" ,
Original file line number Diff line number Diff line change 5
5
6
6
import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor' ;
7
7
import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials' ;
8
+ import UploadadapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter' ;
8
9
import AutoformatPlugin from '@ckeditor/ckeditor5-autoformat/src/autoformat' ;
9
10
import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold' ;
10
11
import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic' ;
11
12
import BlockquotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote' ;
13
+ import EasyimagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage' ;
12
14
import HeadingPlugin from '@ckeditor/ckeditor5-heading/src/heading' ;
13
15
import ImagePlugin from '@ckeditor/ckeditor5-image/src/image' ;
14
16
import ImagecaptionPlugin from '@ckeditor/ckeditor5-image/src/imagecaption' ;
@@ -17,24 +19,28 @@ import ImagetoolbarPlugin from '@ckeditor/ckeditor5-image/src/imagetoolbar';
17
19
import LinkPlugin from '@ckeditor/ckeditor5-link/src/link' ;
18
20
import ListPlugin from '@ckeditor/ckeditor5-list/src/list' ;
19
21
import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph' ;
22
+ import ImageuploadPlugin from '@ckeditor/ckeditor5-upload/src/imageupload' ;
20
23
21
24
export default class ClassicEditor extends ClassicEditorBase { }
22
25
23
26
ClassicEditor . build = {
24
27
plugins : [
25
28
EssentialsPlugin ,
29
+ UploadadapterPlugin ,
26
30
AutoformatPlugin ,
27
31
BoldPlugin ,
28
32
ItalicPlugin ,
29
33
BlockquotePlugin ,
34
+ EasyimagePlugin ,
30
35
HeadingPlugin ,
31
36
ImagePlugin ,
32
37
ImagecaptionPlugin ,
33
38
ImagestylePlugin ,
34
39
ImagetoolbarPlugin ,
35
40
LinkPlugin ,
36
41
ListPlugin ,
37
- ParagraphPlugin
42
+ ParagraphPlugin ,
43
+ ImageuploadPlugin
38
44
] ,
39
45
config : {
40
46
toolbar : [
You can’t perform that action at this time.
0 commit comments