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

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Jasiun committed Mar 6, 2018
2 parents afe114a + 2ee4dd7 commit a030b77
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions src/cloudservices.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default class CloudServices extends Plugin {
* The URL to which the files should be uploaded.
*
* @readonly
* @default 'https://files.cke-cs.com/upload/'
* @member {String} #uploadUrl
*/

Expand Down Expand Up @@ -85,7 +84,10 @@ CloudServices.Token = Token;
*
* ClassicEditor
* .create( document.querySelector( '#editor' ), {
* cloudServices: ... // CloudServices config.
* cloudServices: {
* uploadUrl: 'https://your-organisation-id.cke-cs.com/easyimage/upload/',
* tokenUrl: 'https://example.com/cs-token-endpoint'
* }
* } )
* .then( ... )
* .catch( ... );
Expand All @@ -104,23 +106,13 @@ CloudServices.Token = Token;
* {@glink @cs guides/token-endpoints/tokenendpoint Creating token endpoint} guide
* in {@glink @cs index Cloud Services documentation}.
*
* ClassicEditor
* .create( document.querySelector( '#editor' ), {
* cloudServices: {
* tokenUrl: TOKEN_URL
* },
* plugins: [ ArticlePluginSet, EasyImage ],
* toolbar: [ 'headings', '|', 'undo', 'redo', 'uploadImage' ],
* image: {
* toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
* }
* } );
* See [Cloud Services Quick Start](https://docs.ckeditor.com/cs/latest/guides/quick-start.html).
*
* @member {String} module:cloudservices/cloudservices~CloudServicesConfig#tokenUrl
*/

/**
* The URL to which the files should be uploaded.
*
* @member {String} [module:cloudservices/cloudservices~CloudServicesConfig#uploadUrl='https://files.cke-cs.com/upload/']
* @member {String} [module:cloudservices/cloudservices~CloudServicesConfig#uploadUrl]
*/

0 comments on commit a030b77

Please sign in to comment.