UNPKG

1.2 kBTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module adapter-ckfinder/uploadadapter
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import { FileRepository } from 'ckeditor5/src/upload';
10/**
11 * A plugin that enables file uploads in CKEditor 5 using the CKFinder server–side connector.
12 *
13 * See the {@glink features/file-management/ckfinder "CKFinder file manager integration"} guide to learn how to configure
14 * and use this feature as well as find out more about the full integration with the file manager
15 * provided by the {@link module:ckfinder/ckfinder~CKFinder} plugin.
16 *
17 * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} guide to learn
18 * about other ways to upload images into CKEditor 5.
19 */
20export default class CKFinderUploadAdapter extends Plugin {
21 /**
22 * @inheritDoc
23 */
24 static get requires(): readonly [typeof FileRepository];
25 /**
26 * @inheritDoc
27 */
28 static get pluginName(): 'CKFinderUploadAdapter';
29 /**
30 * @inheritDoc
31 */
32 init(): void;
33}