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

Commit

Permalink
Merge branch 'master' into t/ckeditor5-upload/87
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Jan 4, 2019
2 parents 74a31bc + 2f61c00 commit c792768
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/features/easy-image.md
Expand Up @@ -121,8 +121,13 @@ import EasyImage from '@ckeditor/ckeditor5-easy-image/src/easyimage';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ EasyImage, ... ],
toolbar: [ 'imageUpload' ... ], // Depending on your preference.
cloudServices: // feature configuration
toolbar: [ 'imageUpload', ... ],

// Configure the endpoint. See the "Configuration" section above.
cloudServices: {
tokenUrl: 'https://example.com/cs-token-endpoint',
uploadUrl: 'https://your-organization-id.cke-cs.com/easyimage/upload/'
}
} )
.then( ... )
.catch( ... );
Expand Down

0 comments on commit c792768

Please sign in to comment.