|
@@ -57,7 +57,7 @@ export default class CKFinder extends Plugin {
|
|
|
* options: {
|
|
* options: {
|
|
|
* resourceType: 'Images'
|
|
* resourceType: 'Images'
|
|
|
* }
|
|
* }
|
|
|
- * }
|
|
|
|
|
|
|
+ * }
|
|
|
* } )
|
|
* } )
|
|
|
* .then( ... )
|
|
* .then( ... )
|
|
|
* .catch( ... );
|
|
* .catch( ... );
|
|
@@ -79,8 +79,9 @@ export default class CKFinder extends Plugin {
|
|
|
* The type of the CKFinder opener method.
|
|
* The type of the CKFinder opener method.
|
|
|
*
|
|
*
|
|
|
* Supported types are:
|
|
* Supported types are:
|
|
|
- * * `"modal"` - opens a CKFinder in a modal,
|
|
|
|
|
- * * `"popup"` - opens a CKFinder in a new "pop-up" window.
|
|
|
|
|
|
|
+ *
|
|
|
|
|
+ * * `'modal'` - opens a CKFinder in a modal,
|
|
|
|
|
+ * * `'popup'` - opens a CKFinder in a new "pop-up" window.
|
|
|
*
|
|
*
|
|
|
* Defaults to `'modal'`.
|
|
* Defaults to `'modal'`.
|
|
|
*
|
|
*
|
|
@@ -96,9 +97,9 @@ export default class CKFinder extends Plugin {
|
|
|
*
|
|
*
|
|
|
* ClassicEditor
|
|
* ClassicEditor
|
|
|
* .create( editorElement, {
|
|
* .create( editorElement, {
|
|
|
- * ckfinder: {
|
|
|
|
|
|
|
+ * ckfinder: {
|
|
|
* uploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files&responseType=json'
|
|
* uploadUrl: '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files&responseType=json'
|
|
|
- * }
|
|
|
|
|
|
|
+ * }
|
|
|
* } )
|
|
* } )
|
|
|
* .then( ... )
|
|
* .then( ... )
|
|
|
* .catch( ... );
|
|
* .catch( ... );
|