@ckeditor/ckeditor5-email 48.2.0 → 48.3.0-alpha.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 (34) hide show
  1. package/dist/augmentation.d.ts +28 -28
  2. package/dist/emailconfigurationconfig.d.ts +54 -54
  3. package/dist/emailconfigurationhelper.d.ts +53 -53
  4. package/dist/emailconfigurationlogger.d.ts +31 -31
  5. package/dist/emailinlinestylestransformations.d.ts +44 -44
  6. package/dist/index.d.ts +35 -35
  7. package/dist/index.js +1 -1
  8. package/dist/integrations/emptyblock.d.ts +30 -30
  9. package/dist/integrations/exportinlinestyles.d.ts +30 -30
  10. package/dist/integrations/font.d.ts +30 -30
  11. package/dist/integrations/generalhtmlintegration.d.ts +30 -30
  12. package/dist/integrations/highlight.d.ts +30 -30
  13. package/dist/integrations/image.d.ts +30 -30
  14. package/dist/integrations/link.d.ts +30 -30
  15. package/dist/integrations/list.d.ts +30 -30
  16. package/dist/integrations/listmultilevel.d.ts +30 -30
  17. package/dist/integrations/markdown.d.ts +30 -30
  18. package/dist/integrations/mathtype.d.ts +30 -30
  19. package/dist/integrations/mediaembed.d.ts +30 -30
  20. package/dist/integrations/mergefields.d.ts +30 -30
  21. package/dist/integrations/sourceediting.d.ts +30 -30
  22. package/dist/integrations/table.d.ts +30 -30
  23. package/dist/integrations/template.d.ts +30 -30
  24. package/dist/integrations/todolist.d.ts +30 -30
  25. package/dist/integrations/upload.d.ts +30 -30
  26. package/dist/transformations/transformemailaligntoattribute.d.ts +42 -42
  27. package/dist/transformations/transformemailcolumnwidthstocells.d.ts +17 -17
  28. package/dist/transformations/transformemailfigcaptiontodiv.d.ts +9 -9
  29. package/dist/transformations/transformemailfiguretotable.d.ts +55 -55
  30. package/dist/transformations/transformemailfloattoalign.d.ts +13 -13
  31. package/dist/transformations/transformemailimagewidthattributes.d.ts +13 -13
  32. package/dist/transformations/transformemailmargintoalign.d.ts +19 -19
  33. package/dist/transformations/utils.d.ts +87 -87
  34. package/package.json +10 -10
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/link
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/link
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that handles link integration in email editor.
13
- */
12
+ * A plugin that handles link integration in email editor.
13
+ */
14
14
  export declare class LinkEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "LinkEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "LinkEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/list
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/list
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that checks if the List feature configuration is supported by the email integration.
13
- */
12
+ * A plugin that checks if the List feature configuration is supported by the email integration.
13
+ */
14
14
  export declare class ListEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "ListEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "ListEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/listmultilevel
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/listmultilevel
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that warns about using the MultiLevelList plugin in the email integration.
13
- */
12
+ * A plugin that warns about using the MultiLevelList plugin in the email integration.
13
+ */
14
14
  export declare class MultiLevelListEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "MultiLevelListEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "MultiLevelListEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/markdown
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/markdown
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that warns about using Markdown plugin in the email integration.
13
- */
12
+ * A plugin that warns about using Markdown plugin in the email integration.
13
+ */
14
14
  export declare class MarkdownEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "MarkdownEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "MarkdownEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/mathtype
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/mathtype
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that warns about using MathType plugin in the email integration.
13
- */
12
+ * A plugin that warns about using MathType plugin in the email integration.
13
+ */
14
14
  export declare class MathTypeEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "MathTypeEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "MathTypeEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/mediaembed
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/mediaembed
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that warns about using MediaEmbed plugin in the email integration.
13
- */
12
+ * A plugin that warns about using MediaEmbed plugin in the email integration.
13
+ */
14
14
  export declare class MediaEmbedEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "MediaEmbedEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "MediaEmbedEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/mergefields
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/mergefields
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that checks if the MergeFields plugin is properly configured for the email integration.
13
- */
12
+ * A plugin that checks if the MergeFields plugin is properly configured for the email integration.
13
+ */
14
14
  export declare class MergeFieldsEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "MergeFieldsEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "MergeFieldsEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/sourceediting
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/sourceediting
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that checks if the SourceEditing or SourceEditingEnhanced plugin are loaded.
13
- */
12
+ * A plugin that checks if the SourceEditing or SourceEditingEnhanced plugin are loaded.
13
+ */
14
14
  export declare class SourceEditingEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "SourceEditingEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "SourceEditingEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }
@@ -1,35 +1,35 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module email/integrations/table
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { EmailConfigurationLogger } from '../emailconfigurationlogger.js';
6
+ * @module email/integrations/table
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
11
11
  /**
12
- * A plugin that checks if the Table plugin is properly configured for the email integration.
13
- */
12
+ * A plugin that checks if the Table plugin is properly configured for the email integration.
13
+ */
14
14
  export declare class TableEmailIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get requires(): readonly [typeof EmailConfigurationLogger];
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "TableEmailIntegration";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- afterInit(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "TableEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
35
  }