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

Commit

Permalink
Feature: Added Easy Image with Cloud Services and CKFinder adapter. See
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Sep 29, 2017
1 parent 4f3b529 commit d1526fa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions build-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ module.exports = {
plugins: [
'@ckeditor/ckeditor5-essentials/src/essentials',

'@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter',
'@ckeditor/ckeditor5-autoformat/src/autoformat',
'@ckeditor/ckeditor5-basic-styles/src/bold',
'@ckeditor/ckeditor5-basic-styles/src/italic',
'@ckeditor/ckeditor5-block-quote/src/blockquote',
'@ckeditor/ckeditor5-easy-image/src/easyimage',
'@ckeditor/ckeditor5-heading/src/heading',
'@ckeditor/ckeditor5-image/src/image',
'@ckeditor/ckeditor5-image/src/imagecaption',
Expand All @@ -28,6 +30,7 @@ module.exports = {
'@ckeditor/ckeditor5-link/src/link',
'@ckeditor/ckeditor5-list/src/list',
'@ckeditor/ckeditor5-paragraph/src/paragraph',
'@ckeditor/ckeditor5-upload/src/imageupload'
],

// UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
Expand Down
2 changes: 1 addition & 1 deletion build/ckeditor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/ckeditor.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@
"build"
],
"devDependencies": {
"@ckeditor/ckeditor5-adapter-ckfinder": "*",
"@ckeditor/ckeditor5-autoformat": "^0.6.0",
"@ckeditor/ckeditor5-basic-styles": "^0.9.0",
"@ckeditor/ckeditor5-block-quote": "^0.2.0",
"@ckeditor/ckeditor5-dev-utils": "^4.0.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^2.0.11",
"@ckeditor/ckeditor5-easy-image": "*",
"@ckeditor/ckeditor5-editor-inline": "^0.2.0",
"@ckeditor/ckeditor5-essentials": "^0.3.0",
"@ckeditor/ckeditor5-heading": "^0.10.0",
"@ckeditor/ckeditor5-image": "^0.7.0",
"@ckeditor/ckeditor5-link": "^0.8.0",
"@ckeditor/ckeditor5-list": "^0.7.0",
"@ckeditor/ckeditor5-paragraph": "^0.9.0",
"@ckeditor/ckeditor5-upload": "*",
"babel-minify-webpack-plugin": "^0.2.0",
"css-loader": "^0.28.5",
"node-sass": "^4.5.3",
Expand Down
8 changes: 7 additions & 1 deletion src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@

import InlineEditorBase from '@ckeditor/ckeditor5-editor-inline/src/inlineeditor';
import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials';
import UploadadapterPlugin from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
import AutoformatPlugin from '@ckeditor/ckeditor5-autoformat/src/autoformat';
import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold';
import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic';
import BlockquotePlugin from '@ckeditor/ckeditor5-block-quote/src/blockquote';
import EasyimagePlugin from '@ckeditor/ckeditor5-easy-image/src/easyimage';
import HeadingPlugin from '@ckeditor/ckeditor5-heading/src/heading';
import ImagePlugin from '@ckeditor/ckeditor5-image/src/image';
import ImagecaptionPlugin from '@ckeditor/ckeditor5-image/src/imagecaption';
Expand All @@ -17,24 +19,28 @@ import ImagetoolbarPlugin from '@ckeditor/ckeditor5-image/src/imagetoolbar';
import LinkPlugin from '@ckeditor/ckeditor5-link/src/link';
import ListPlugin from '@ckeditor/ckeditor5-list/src/list';
import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
import ImageuploadPlugin from '@ckeditor/ckeditor5-upload/src/imageupload';

export default class InlineEditor extends InlineEditorBase {}

InlineEditor.build = {
plugins: [
EssentialsPlugin,
UploadadapterPlugin,
AutoformatPlugin,
BoldPlugin,
ItalicPlugin,
BlockquotePlugin,
EasyimagePlugin,
HeadingPlugin,
ImagePlugin,
ImagecaptionPlugin,
ImagestylePlugin,
ImagetoolbarPlugin,
LinkPlugin,
ListPlugin,
ParagraphPlugin
ParagraphPlugin,
ImageuploadPlugin
],
config: {
toolbar: [
Expand Down

0 comments on commit d1526fa

Please sign in to comment.