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

Commit

Permalink
Enabled EasyImage in editor snippet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Piechaczek committed Feb 9, 2018
1 parent f323b98 commit aca571b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_snippets/features/autoformat.js
Expand Up @@ -7,6 +7,7 @@

import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
import Code from '@ckeditor/ckeditor5-basic-styles/src/code';
import { TOKEN_URL } from '@ckeditor/ckeditor5-cloudservices/tests/_utils/cloudservices-config';

ClassicEditor
.create( document.querySelector( '#snippet-autoformat' ), {
Expand All @@ -26,6 +27,9 @@ ClassicEditor
'redo'
],
viewportTopOffset: 60
},
cloudServices: {
tokenUrl: TOKEN_URL
}
} )
.then( editor => {
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -13,6 +13,7 @@
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-block-quote": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-cloudservices": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-enter": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-heading": "^1.0.0-alpha.2",
Expand Down

0 comments on commit aca571b

Please sign in to comment.