Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 668691f

Browse files
committedSep 29, 2017
Feature: Added Easy Image with Cloud Services and CKFinder adapter. See ckeditor/ckeditor5#567.
1 parent 91eea33 commit 668691f

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed
 

‎build-config.js

+3
Original file line numberDiff line numberDiff 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.

‎build/ckeditor.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/ckeditor.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,21 @@
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-classic": "^0.8.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",

‎src/ckeditor.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55

66
import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
77
import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials';
8+
import UploadadapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
89
import AutoformatPlugin from '@ckeditor/ckeditor5-autoformat/src/autoformat';
910
import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold';
1011
import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic';
1112
import BlockquotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote';
13+
import EasyimagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage';
1214
import HeadingPlugin from '@ckeditor/ckeditor5-heading/src/heading';
1315
import ImagePlugin from '@ckeditor/ckeditor5-image/src/image';
1416
import ImagecaptionPlugin from '@ckeditor/ckeditor5-image/src/imagecaption';
@@ -17,24 +19,28 @@ import ImagetoolbarPlugin from '@ckeditor/ckeditor5-image/src/imagetoolbar';
1719
import LinkPlugin from '@ckeditor/ckeditor5-link/src/link';
1820
import ListPlugin from '@ckeditor/ckeditor5-list/src/list';
1921
import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
22+
import ImageuploadPlugin from '@ckeditor/ckeditor5-upload/src/imageupload';
2023

2124
export default class ClassicEditor extends ClassicEditorBase {}
2225

2326
ClassicEditor.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: [

0 commit comments

Comments
 (0)