|
|
@@ -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( ... );
|