@ckeditor/ckeditor5-link 38.1.1 → 38.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +1,27 @@
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 link/linkimage
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import LinkImageEditing from './linkimageediting';
10
- import LinkImageUI from './linkimageui';
11
- import '../theme/linkimage.css';
12
- /**
13
- * The `LinkImage` plugin.
14
- *
15
- * This is a "glue" plugin that loads the {@link module:link/linkimageediting~LinkImageEditing link image editing feature}
16
- * and {@link module:link/linkimageui~LinkImageUI link image UI feature}.
17
- */
18
- export default class LinkImage extends Plugin {
19
- /**
20
- * @inheritDoc
21
- */
22
- static get requires(): readonly [typeof LinkImageEditing, typeof LinkImageUI];
23
- /**
24
- * @inheritDoc
25
- */
26
- static get pluginName(): "LinkImage";
27
- }
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 link/linkimage
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import LinkImageEditing from './linkimageediting.js';
10
+ import LinkImageUI from './linkimageui.js';
11
+ import '../theme/linkimage.css';
12
+ /**
13
+ * The `LinkImage` plugin.
14
+ *
15
+ * This is a "glue" plugin that loads the {@link module:link/linkimageediting~LinkImageEditing link image editing feature}
16
+ * and {@link module:link/linkimageui~LinkImageUI link image UI feature}.
17
+ */
18
+ export default class LinkImage extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): readonly [typeof LinkImageEditing, typeof LinkImageUI];
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "LinkImage";
27
+ }
package/src/linkimage.js CHANGED
@@ -1,31 +1,31 @@
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 link/linkimage
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import LinkImageEditing from './linkimageediting';
10
- import LinkImageUI from './linkimageui';
11
- import '../theme/linkimage.css';
12
- /**
13
- * The `LinkImage` plugin.
14
- *
15
- * This is a "glue" plugin that loads the {@link module:link/linkimageediting~LinkImageEditing link image editing feature}
16
- * and {@link module:link/linkimageui~LinkImageUI link image UI feature}.
17
- */
18
- export default class LinkImage extends Plugin {
19
- /**
20
- * @inheritDoc
21
- */
22
- static get requires() {
23
- return [LinkImageEditing, LinkImageUI];
24
- }
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName() {
29
- return 'LinkImage';
30
- }
31
- }
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 link/linkimage
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import LinkImageEditing from './linkimageediting.js';
10
+ import LinkImageUI from './linkimageui.js';
11
+ import '../theme/linkimage.css';
12
+ /**
13
+ * The `LinkImage` plugin.
14
+ *
15
+ * This is a "glue" plugin that loads the {@link module:link/linkimageediting~LinkImageEditing link image editing feature}
16
+ * and {@link module:link/linkimageui~LinkImageUI link image UI feature}.
17
+ */
18
+ export default class LinkImage extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires() {
23
+ return [LinkImageEditing, LinkImageUI];
24
+ }
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName() {
29
+ return 'LinkImage';
30
+ }
31
+ }
@@ -1,39 +1,39 @@
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 link/linkimageediting
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import LinkEditing from './linkediting';
10
- /**
11
- * The link image engine feature.
12
- *
13
- * It accepts the `linkHref="url"` attribute in the model for the {@link module:image/image~Image `<imageBlock>`} element
14
- * which allows linking images.
15
- */
16
- export default class LinkImageEditing extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get requires(): readonly ["ImageEditing", "ImageUtils", typeof LinkEditing];
21
- /**
22
- * @inheritDoc
23
- */
24
- static get pluginName(): "LinkImageEditing";
25
- /**
26
- * @inheritDoc
27
- */
28
- init(): void;
29
- /**
30
- * Processes {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition automatic decorators} definitions and
31
- * attaches proper converters that will work when linking an image.`
32
- */
33
- private _enableAutomaticDecorators;
34
- /**
35
- * Processes transformed {@link module:link/utils/manualdecorator~ManualDecorator} instances and attaches proper converters
36
- * that will work when linking an image.
37
- */
38
- private _enableManualDecorators;
39
- }
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 link/linkimageediting
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import LinkEditing from './linkediting.js';
10
+ /**
11
+ * The link image engine feature.
12
+ *
13
+ * It accepts the `linkHref="url"` attribute in the model for the {@link module:image/image~Image `<imageBlock>`} element
14
+ * which allows linking images.
15
+ */
16
+ export default class LinkImageEditing extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get requires(): readonly ["ImageEditing", "ImageUtils", typeof LinkEditing];
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get pluginName(): "LinkImageEditing";
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ init(): void;
29
+ /**
30
+ * Processes {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition automatic decorators} definitions and
31
+ * attaches proper converters that will work when linking an image.`
32
+ */
33
+ private _enableAutomaticDecorators;
34
+ /**
35
+ * Processes transformed {@link module:link/utils/manualdecorator~ManualDecorator} instances and attaches proper converters
36
+ * that will work when linking an image.
37
+ */
38
+ private _enableManualDecorators;
39
+ }