@ckeditor/ckeditor5-ckbox 39.0.2 → 40.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,52 +1,52 @@
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 ckbox/ckboxediting
7
- */
8
- import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services';
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import CKBoxUploadAdapter from './ckboxuploadadapter';
11
- /**
12
- * The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
13
- * {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
14
- */
15
- export default class CKBoxEditing extends Plugin {
16
- /**
17
- * CKEditor Cloud Services access token.
18
- */
19
- private _token;
20
- /**
21
- * @inheritDoc
22
- */
23
- static get pluginName(): "CKBoxEditing";
24
- /**
25
- * @inheritDoc
26
- */
27
- static get requires(): readonly ["CloudServices", "LinkEditing", "PictureEditing", typeof CKBoxUploadAdapter];
28
- /**
29
- * @inheritDoc
30
- */
31
- init(): Promise<void>;
32
- /**
33
- * Returns a token used by the CKBox plugin for communication with the CKBox service.
34
- */
35
- getToken(): InitializedToken;
36
- /**
37
- * Initializes the `ckbox` editor configuration.
38
- */
39
- private _initConfig;
40
- /**
41
- * Extends the schema to allow the `ckboxImageId` and `ckboxLinkId` attributes for links and images.
42
- */
43
- private _initSchema;
44
- /**
45
- * Configures the upcast and downcast conversions for the `ckboxImageId` and `ckboxLinkId` attributes.
46
- */
47
- private _initConversion;
48
- /**
49
- * Registers post-fixers that add or remove the `ckboxLinkId` and `ckboxImageId` attributes.
50
- */
51
- private _initFixers;
52
- }
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 ckbox/ckboxediting
7
+ */
8
+ import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services';
9
+ import { Plugin } from 'ckeditor5/src/core';
10
+ import CKBoxUploadAdapter from './ckboxuploadadapter';
11
+ /**
12
+ * The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
13
+ * {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
14
+ */
15
+ export default class CKBoxEditing extends Plugin {
16
+ /**
17
+ * CKEditor Cloud Services access token.
18
+ */
19
+ private _token;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "CKBoxEditing";
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get requires(): readonly ["CloudServices", "LinkEditing", "PictureEditing", typeof CKBoxUploadAdapter];
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ init(): Promise<void>;
32
+ /**
33
+ * Returns a token used by the CKBox plugin for communication with the CKBox service.
34
+ */
35
+ getToken(): InitializedToken;
36
+ /**
37
+ * Initializes the `ckbox` editor configuration.
38
+ */
39
+ private _initConfig;
40
+ /**
41
+ * Extends the schema to allow the `ckboxImageId` and `ckboxLinkId` attributes for links and images.
42
+ */
43
+ private _initSchema;
44
+ /**
45
+ * Configures the upcast and downcast conversions for the `ckboxImageId` and `ckboxLinkId` attributes.
46
+ */
47
+ private _initConversion;
48
+ /**
49
+ * Registers post-fixers that add or remove the `ckboxLinkId` and `ckboxImageId` attributes.
50
+ */
51
+ private _initFixers;
52
+ }