@ckeditor/ckeditor5-link 39.0.2 → 40.0.0

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.
Files changed (40) hide show
  1. package/build/link.js.map +1 -0
  2. package/build/translations/hy.js +1 -0
  3. package/build/translations/pt-br.js +1 -1
  4. package/lang/translations/hy.po +54 -0
  5. package/lang/translations/pt-br.po +2 -2
  6. package/package.json +3 -3
  7. package/src/augmentation.d.ts +30 -30
  8. package/src/augmentation.js +5 -5
  9. package/src/autolink.d.ts +60 -60
  10. package/src/autolink.js +216 -216
  11. package/src/index.d.ts +18 -18
  12. package/src/index.js +17 -17
  13. package/src/link.d.ts +27 -27
  14. package/src/link.js +31 -31
  15. package/src/linkcommand.d.ts +132 -132
  16. package/src/linkcommand.js +285 -285
  17. package/src/linkconfig.d.ts +251 -251
  18. package/src/linkconfig.js +5 -5
  19. package/src/linkediting.d.ts +106 -106
  20. package/src/linkediting.js +547 -547
  21. package/src/linkimage.d.ts +27 -27
  22. package/src/linkimage.js +31 -31
  23. package/src/linkimageediting.d.ts +39 -39
  24. package/src/linkimageediting.js +245 -245
  25. package/src/linkimageui.d.ts +40 -40
  26. package/src/linkimageui.js +96 -96
  27. package/src/linkui.d.ts +165 -165
  28. package/src/linkui.js +581 -581
  29. package/src/ui/linkactionsview.d.ts +101 -101
  30. package/src/ui/linkactionsview.js +156 -156
  31. package/src/ui/linkformview.d.ts +141 -141
  32. package/src/ui/linkformview.js +232 -232
  33. package/src/unlinkcommand.d.ts +31 -31
  34. package/src/unlinkcommand.js +66 -66
  35. package/src/utils/automaticdecorators.d.ts +45 -45
  36. package/src/utils/automaticdecorators.js +140 -140
  37. package/src/utils/manualdecorator.d.ts +72 -72
  38. package/src/utils/manualdecorator.js +47 -47
  39. package/src/utils.d.ts +80 -80
  40. package/src/utils.js +128 -128
@@ -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';
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
+ }
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';
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,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';
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
+ }