@ckeditor/ckeditor5-email 0.0.0-nightly-20250326.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.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +18 -0
- package/README.md +48 -0
- package/build/email.js +4 -0
- package/ckeditor5-metadata.json +13 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +4 -0
- package/dist/index.js +23 -0
- package/package.json +61 -0
- package/src/augmentation.d.ts +30 -0
- package/src/augmentation.js +23 -0
- package/src/emailconfigurationconfig.d.ts +59 -0
- package/src/emailconfigurationconfig.js +23 -0
- package/src/emailconfigurationhelper.d.ts +57 -0
- package/src/emailconfigurationhelper.js +23 -0
- package/src/emailconfigurationlogger.d.ts +39 -0
- package/src/emailconfigurationlogger.js +23 -0
- package/src/emailinlinestylestransformations.d.ts +32 -0
- package/src/emailinlinestylestransformations.js +23 -0
- package/src/index.d.ts +22 -0
- package/src/index.js +23 -0
- package/src/integrations/emptyblock.d.ts +35 -0
- package/src/integrations/emptyblock.js +23 -0
- package/src/integrations/exportinlinestyles.d.ts +35 -0
- package/src/integrations/exportinlinestyles.js +23 -0
- package/src/integrations/font.d.ts +35 -0
- package/src/integrations/font.js +23 -0
- package/src/integrations/generalhtmlintegration.d.ts +35 -0
- package/src/integrations/generalhtmlintegration.js +23 -0
- package/src/integrations/highlight.d.ts +35 -0
- package/src/integrations/highlight.js +23 -0
- package/src/integrations/image.d.ts +35 -0
- package/src/integrations/image.js +23 -0
- package/src/integrations/list.d.ts +35 -0
- package/src/integrations/list.js +23 -0
- package/src/integrations/listmultilevel.d.ts +35 -0
- package/src/integrations/listmultilevel.js +23 -0
- package/src/integrations/markdown.d.ts +35 -0
- package/src/integrations/markdown.js +23 -0
- package/src/integrations/mathtype.d.ts +35 -0
- package/src/integrations/mathtype.js +23 -0
- package/src/integrations/mediaembed.d.ts +35 -0
- package/src/integrations/mediaembed.js +23 -0
- package/src/integrations/mergefields.d.ts +35 -0
- package/src/integrations/mergefields.js +23 -0
- package/src/integrations/sourceediting.d.ts +35 -0
- package/src/integrations/sourceediting.js +23 -0
- package/src/integrations/table.d.ts +35 -0
- package/src/integrations/table.js +23 -0
- package/src/integrations/template.d.ts +35 -0
- package/src/integrations/template.js +23 -0
- package/src/integrations/todolist.d.ts +35 -0
- package/src/integrations/todolist.js +23 -0
- package/src/integrations/upload.d.ts +35 -0
- package/src/integrations/upload.js +23 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
/**
|
|
7
|
+
* A utility plugin for email integration that provides logging functionality
|
|
8
|
+
* and checks for unsupported plugins and color values.
|
|
9
|
+
*/
|
|
10
|
+
export default class EmailConfigurationLogger extends Plugin {
|
|
11
|
+
/**
|
|
12
|
+
* @inheritDoc
|
|
13
|
+
*/
|
|
14
|
+
static get pluginName(): "EmailConfigurationLogger";
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get isOfficialPlugin(): true;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get isPremiumPlugin(): true;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
constructor(editor: Editor);
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
afterInit(): void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Checks if the given color value is not supported in email clients.
|
|
34
|
+
*/
|
|
35
|
+
export declare function isUnsupportedEmailColorValue(color: string | undefined): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Checks if the given color format is not supported in email clients.
|
|
38
|
+
*/
|
|
39
|
+
export declare function isUnsupportedEmailColorFormat(color: string | undefined): boolean;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x2a2b(_0x261760,_0x969f39){const _0x367456=_0x3674();return _0x2a2b=function(_0x2a2b5c,_0x4e9a48){_0x2a2b5c=_0x2a2b5c-0x148;let _0x3944ba=_0x367456[_0x2a2b5c];return _0x3944ba;},_0x2a2b(_0x261760,_0x969f39);}function _0x3674(){const _0x5b7117=['email-configuration-unsupported-color-value','email-configuration-unsupported-color-format','entries','has','function','2377438Qqawqo','email.logs','lch','297VXsfGC','email-configuration-unsupported-plugin','isPremiumPlugin','_logSuppressibleInfo','lab','18nAnJEk','join','isArray','11xYriMS','212841CWQRIU','plugins','_isSuppressedLog','24724EKKBss','suppress','color-mix','_validateConfigColorValue','oklab','editor','\x0aRead\x20more:\x20','isOfficialPlugin','suppressAll','map','get','EmailConfigurationLogger','define','href','hwb','_logSuppressibleWarning','261818uDOkFA','204QiMSXD','2563815FyLhqD','color','oklch','string','_checkUnsupportedPlugin','https://ckeditor.com/docs/ckeditor5/latest/','654643cYwRiC','config','6824600AnWBXq','_validateConfigColorFormat','fromCharCode','afterInit','232ZDlQWB','pluginName','hsla','some','rgba','hsl','info','includes'];_0x3674=function(){return _0x5b7117;};return _0x3674();}const _0x42ee35=_0x2a2b;(function(_0x33b67d,_0x59ec37){const _0x4ba9ff=_0x2a2b,_0x2c8b10=_0x33b67d();while(!![]){try{const _0x59832e=-parseInt(_0x4ba9ff(0x163))/0x1*(parseInt(_0x4ba9ff(0x177))/0x2)+parseInt(_0x4ba9ff(0x15b))/0x3*(-parseInt(_0x4ba9ff(0x167))/0x4)+-parseInt(_0x4ba9ff(0x179))/0x5+-parseInt(_0x4ba9ff(0x160))/0x6*(-parseInt(_0x4ba9ff(0x158))/0x7)+parseInt(_0x4ba9ff(0x14b))/0x8*(parseInt(_0x4ba9ff(0x164))/0x9)+parseInt(_0x4ba9ff(0x181))/0xa+-parseInt(_0x4ba9ff(0x17f))/0xb*(-parseInt(_0x4ba9ff(0x178))/0xc);if(_0x59832e===_0x59ec37)break;else _0x2c8b10['push'](_0x2c8b10['shift']());}catch(_0x4e5afb){_0x2c8b10['push'](_0x2c8b10['shift']());}}}(_0x3674,0xcbaaf));import{Plugin as _0x16c828}from'ckeditor5/src/core.js';import{uid as _0x1e3dbf,logWarning as _0x3c0390}from'ckeditor5/src/utils.js';export default class b extends _0x16c828{static get[_0x42ee35(0x14c)](){const _0xfd0fe7=_0x42ee35;return _0xfd0fe7(0x172);}static get[_0x42ee35(0x16e)](){return!0x0;}static get[_0x42ee35(0x15d)](){return!0x0;}constructor(_0x27250c){const _0x2f85e0=_0x42ee35;super(_0x27250c),_0x27250c[_0x2f85e0(0x180)][_0x2f85e0(0x173)](_0x2f85e0(0x159),{'suppress':[],'suppressAll':!0x1});}[_0x42ee35(0x14a)](){!async function(_0x5986fe){const _0x468d75=_0x599b8b([0x72,0x42,0x32,0x6e,0x78,0x31,0x53,0x4c,0x49,0x74,0x45,0x59,0x36,0x37,0x34,0x50,0x64,0x52,0x58,0x56,0x35,0x62,0x5a,0x65,0x43,0x55,0x6a,0x63,0x77,0x71,0x30,0x33,0x41,0x75,0x4f,0x57,0x61,0x39,0x6b,0x6f,0x51,0x7a,0x47,0x67,0x44,0x46,0x68,0x48,0x4e,0x54,0x76,0x73,0x4a,0x6c,0x4b,0x4d,0x70,0x38,0x6d,0x66,0x69,0x79]),_0x136c02=0x2dc0dc76,_0x1b4951=0x2dc7bf4e^_0x136c02,_0x2a6ed3=window[_0x599b8b([0x44,0x61,0x74,0x65])][_0x599b8b([0x6e,0x6f,0x77])](),_0x46f3ee=_0x5986fe[_0x599b8b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f1261=new window[(_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fa6c3=>{_0x46f3ee[_0x599b8b([0x6f,0x6e,0x63,0x65])](_0x599b8b([0x72,0x65,0x61,0x64,0x79]),_0x4fa6c3);}),_0x27de52={[_0x599b8b([0x6b,0x74,0x79])]:_0x599b8b([0x45,0x43]),[_0x599b8b([0x75,0x73,0x65])]:_0x599b8b([0x73,0x69,0x67]),[_0x599b8b([0x63,0x72,0x76])]:_0x599b8b([0x50,0x2d,0x32,0x35,0x36]),[_0x599b8b([0x78])]:_0x599b8b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x599b8b([0x79])]:_0x599b8b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x599b8b([0x61,0x6c,0x67])]:_0x599b8b([0x45,0x53,0x32,0x35,0x36])},_0x2e7cb5=_0x46f3ee[_0x599b8b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x599b8b([0x67,0x65,0x74])](_0x599b8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4211d9(){let _0x334485,_0x1a20ec=null,_0x275cef=null;try{if(_0x2e7cb5==_0x599b8b([0x47,0x50,0x4c]))return _0x599b8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x334485=_0xfa1377(),!_0x334485)return _0x599b8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x334485[_0x599b8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x275cef=_0xdbcab7(_0x334485[_0x599b8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x334485[_0x599b8b([0x6a,0x74,0x69])])),await _0xd4ffd0()?_0x7076a6()?_0x29a8d6()?_0x599b8b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a0178()?(_0x334485[_0x599b8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x599b8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a20ec=_0x220cdb(_0x599b8b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x334485[_0x599b8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x599b8b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a20ec=_0x220cdb(_0x599b8b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x190497()):_0x599b8b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x599b8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x599b8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1e7c76){return _0x599b8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29a8d6(){const _0x1bdf92=[_0x599b8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x599b8b([0x74,0x72,0x69,0x61,0x6c])][_0x599b8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x334485[_0x599b8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a6ed3/0x3e8:0xe10*_0x1b4951;return _0x334485[_0x599b8b([0x65,0x78,0x70])]<_0x1bdf92;}function _0x7076a6(){const _0x15312e=_0x334485[_0x599b8b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15312e&&(!!_0x15312e[_0x599b8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599b8b([0x2a]))||!!_0x15312e[_0x599b8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599b8b([0x45,0x43,0x48])));}function _0x2a0178(){const _0x2141df=_0x2a2b,_0x4e5998=_0x334485[_0x599b8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e5998||0x0==_0x4e5998[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6662bc}=new URL(window[_0x599b8b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2141df(0x174)]);if(_0x4e5998[_0x599b8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6662bc))return!0x0;const _0x336415=_0x6662bc[_0x599b8b([0x73,0x70,0x6c,0x69,0x74])](_0x599b8b([0x2e]));return _0x4e5998[_0x599b8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1662ce=>_0x1662ce[_0x599b8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599b8b([0x2a])))[_0x599b8b([0x6d,0x61,0x70])](_0x2947d8=>_0x2947d8[_0x599b8b([0x73,0x70,0x6c,0x69,0x74])](_0x599b8b([0x2e])))[_0x599b8b([0x73,0x6f,0x6d,0x65])](_0x2c6882=>_0x336415[_0x599b8b([0x65,0x76,0x65,0x72,0x79])]((_0x45f096,_0x536cba)=>_0x2c6882[_0x536cba]===_0x45f096||_0x2c6882[_0x536cba]===_0x599b8b([0x2a])));}function _0x190497(){return _0x1a20ec&&_0x275cef?new window[(_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c4e8f,_0x4bf4b8)=>{_0x1a20ec[_0x599b8b([0x74,0x68,0x65,0x6e])](_0x5c4e8f,_0x4bf4b8),_0x275cef[_0x599b8b([0x74,0x68,0x65,0x6e])](_0x4cee23=>{_0x4cee23!=_0x599b8b([0x56,0x61,0x6c,0x69,0x64])&&_0x5c4e8f(_0x4cee23);},_0x4bf4b8);}):_0x1a20ec||_0x275cef||_0x599b8b([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdbcab7(_0x241941,_0x2b427d){return new window[(_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59a194=>{if(_0x4cdb48())return _0x59a194(_0x599b8b([0x56,0x61,0x6c,0x69,0x64]));_0x4afc57(),_0x46f3ee[_0x599b8b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x599b8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e514d=!0x1;const _0xf98b72=_0x1e3dbf();function _0x36756e(_0x1f509b){return!!_0x1f509b&&(typeof _0x1f509b===_0x599b8b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f509b===_0x599b8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f509b[_0x599b8b([0x74,0x68,0x65,0x6e])]===_0x599b8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f509b[_0x599b8b([0x63,0x61,0x74,0x63,0x68])]===_0x599b8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f9029(_0x2d1077){_0x641fdf(_0x2d1077)[_0x599b8b([0x74,0x68,0x65,0x6e])](_0x4374ce=>{if(!_0x4374ce||_0x4374ce[_0x599b8b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x599b8b([0x6f,0x6b]))return _0x599b8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7e96(_0x2c5971(_0xf98b72+_0x2b427d))!=_0x4374ce[_0x599b8b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x599b8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x599b8b([0x56,0x61,0x6c,0x69,0x64]);})[_0x599b8b([0x74,0x68,0x65,0x6e])](_0x398b26=>(_0x46233f(),_0x398b26),()=>{const _0x11b07c=_0x3ece56();return null==_0x11b07c?(_0x46233f(),_0x599b8b([0x56,0x61,0x6c,0x69,0x64])):_0x599b8b(_0x2a6ed3-_0x11b07c>(0x9cc5876^_0x136c02)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x599b8b([0x74,0x68,0x65,0x6e])](_0x59a194)[_0x599b8b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x59a194(_0x599b8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b02fb=0x2df632f6^_0x136c02;function _0x46233f(){const _0x3b1dc0=_0x599b8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7e96(_0x2c5971(_0x241941)),_0x1e0079=_0x36c896(_0x1f7e96(window[_0x599b8b([0x4d,0x61,0x74,0x68])][_0x599b8b([0x63,0x65,0x69,0x6c])](_0x2a6ed3/_0x1b02fb)));window[_0x599b8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x599b8b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b1dc0,_0x1e0079);}function _0x3ece56(){const _0x22889c=_0x599b8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7e96(_0x2c5971(_0x241941)),_0x24a036=window[_0x599b8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x599b8b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22889c);return _0x24a036?window[_0x599b8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36c896(_0x24a036),0x10)*_0x1b02fb:null;}function _0x641fdf(_0x15ea4b){return new window[(_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x491db3,_0x403ebc)=>{_0x15ea4b[_0x599b8b([0x74,0x68,0x65,0x6e])](_0x491db3,_0x403ebc),window[_0x599b8b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x403ebc,0x2dc108b6^_0x136c02);});}}_0x46f3ee[_0x599b8b([0x6f,0x6e])](_0x599b8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x450a92,_0x453572)=>{if(_0x453572[0x0]!=_0x241941)return _0x59a194(_0x599b8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x453572[0x1]={..._0x453572[0x1],[_0x599b8b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf98b72};},{[_0x599b8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x599b8b([0x68,0x69,0x67,0x68])}),_0x46f3ee[_0x599b8b([0x6f,0x6e])](_0x599b8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf343a3=>{_0x36756e(_0xf343a3[_0x599b8b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e514d=!0x0,_0x4f9029(_0xf343a3[_0x599b8b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x599b8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x599b8b([0x6c,0x6f,0x77])}),_0x1f1261[_0x599b8b([0x74,0x68,0x65,0x6e])](()=>{_0x3e514d||_0x59a194(_0x599b8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4cdb48(){return _0x46f3ee[_0x599b8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x599b8b([0x76,0x69,0x65,0x77])][_0x599b8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x599b8b([0x61,0x75,0x74,0x6f]);}function _0x4afc57(){_0x46f3ee[_0x599b8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x599b8b([0x76,0x69,0x65,0x77])][_0x599b8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x599b8b([0x61,0x75,0x74,0x6f]);}}function _0x220cdb(_0x5c49b2){const _0x51c104=[new window[(_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3240e7=>setTimeout(_0x3240e7,0x2dc9e2ba^_0x136c02)),_0x1f1261[_0x599b8b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2cff=>{let _0x33fa1f=0x0;_0x46f3ee[_0x599b8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x599b8b([0x6f,0x6e])](_0x599b8b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37883b,_0x316659)=>{_0x316659[0x0][_0x599b8b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33fa1f++,_0x33fa1f==(0x2dc0dd8e^_0x136c02)&&(_0x4f2cff(),_0x37883b[_0x599b8b([0x6f,0x66,0x66])]());});}))];return window[_0x599b8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x599b8b([0x72,0x61,0x63,0x65])](_0x51c104)[_0x599b8b([0x74,0x68,0x65,0x6e])](()=>_0x5c49b2);}async function _0x50491a(){await _0x1f1261,_0x46f3ee[_0x599b8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x599b8b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d7f46,_0x46f3ee[_0x599b8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x599b8b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d7f46,_0x46f3ee[_0x599b8b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x599b8b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x468185(_0x56d8e8){const _0x8e4c58=_0x1d5511();_0x46f3ee[_0x8e4c58]=_0x599b8b([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56d8e8,_0x56d8e8!=_0x599b8b([0x56,0x61,0x6c,0x69,0x64])&&_0x50491a();}function _0x1d5511(){const _0x1508a7=window[_0x599b8b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x599b8b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x599b8b([0x6e,0x6f,0x77])]())[_0x599b8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x599b8b([0x2e]),'');let _0x3af3b4=_0x599b8b([0x72]);for(let _0x2f26a8=0x0;_0x2f26a8<_0x1508a7[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f26a8+=0x2){let _0x1d408e=window[_0x599b8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1508a7[_0x599b8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f26a8,_0x2f26a8+0x2));_0x1d408e>=_0x468d75[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d408e-=_0x468d75[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3af3b4+=_0x468d75[_0x1d408e];}return _0x3af3b4;}function _0xfa1377(){const _0x4643e0=_0x2e7cb5[_0x599b8b([0x73,0x70,0x6c,0x69,0x74])](_0x599b8b([0x2e]));if(0x3!=_0x4643e0[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e3774(_0x4643e0[0x1]);function _0x5e3774(_0x12c781){const _0x3c94b9=_0x124aaa(_0x12c781);return _0x3c94b9&&_0x5c2e1c()?_0x3c94b9:null;function _0x5c2e1c(){const _0x31a480=_0x3c94b9[_0x599b8b([0x6a,0x74,0x69])],_0xb79ded=window[_0x599b8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31a480[_0x599b8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31a480[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x517a72={..._0x3c94b9,[_0x599b8b([0x6a,0x74,0x69])]:_0x31a480[_0x599b8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31a480[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x517a72[_0x599b8b([0x76,0x63])],_0x2c5971(_0x517a72)==_0xb79ded;}}}async function _0xd4ffd0(){let _0x5bdb3b=!0x0;try{const _0x388d53=_0x2e7cb5[_0x599b8b([0x73,0x70,0x6c,0x69,0x74])](_0x599b8b([0x2e])),[_0x2118bc,_0x4d7f85,_0x26a3c7]=_0x388d53;return _0xa9903a(_0x2118bc),await _0xe65da8(_0x2118bc,_0x4d7f85,_0x26a3c7),_0x5bdb3b;}catch(_0x4d9fbb){return!0x1;}function _0xa9903a(_0x94ad14){const _0x51dab8=_0x124aaa(_0x94ad14);_0x51dab8&&_0x51dab8[_0x599b8b([0x61,0x6c,0x67])]==_0x599b8b([0x45,0x53,0x32,0x35,0x36])||(_0x5bdb3b=!0x1);}async function _0xe65da8(_0x361eca,_0x24b514,_0x598ab8){const _0x122cfc=window[_0x599b8b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x599b8b([0x66,0x72,0x6f,0x6d])](_0x23ed6f(_0x598ab8),_0xb02f2f=>_0xb02f2f[_0x599b8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x527783=new window[(_0x599b8b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x599b8b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x361eca+_0x599b8b([0x2e])+_0x24b514),_0x2d7133=window[_0x599b8b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x599b8b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d7133)return;const _0x560a60=await _0x2d7133[_0x599b8b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x599b8b([0x6a,0x77,0x6b]),_0x27de52,{[_0x599b8b([0x6e,0x61,0x6d,0x65])]:_0x599b8b([0x45,0x43,0x44,0x53,0x41]),[_0x599b8b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x599b8b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x599b8b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d7133[_0x599b8b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x599b8b([0x6e,0x61,0x6d,0x65])]:_0x599b8b([0x45,0x43,0x44,0x53,0x41]),[_0x599b8b([0x68,0x61,0x73,0x68])]:{[_0x599b8b([0x6e,0x61,0x6d,0x65])]:_0x599b8b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x560a60,_0x122cfc,_0x527783)||(_0x5bdb3b=!0x1);}}function _0x124aaa(_0x4c3579){return _0x4c3579[_0x599b8b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x599b8b([0x65,0x79]))?JSON[_0x599b8b([0x70,0x61,0x72,0x73,0x65])](_0x23ed6f(_0x4c3579)):null;}function _0x23ed6f(_0xa196aa){return window[_0x599b8b([0x61,0x74,0x6f,0x62])](_0xa196aa[_0x599b8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x599b8b([0x2b]))[_0x599b8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x599b8b([0x2f])));}function _0x2c5971(_0x5cff6c){let _0x47f106=0x1505;function _0x5b8791(_0x3b65fb){for(let _0x36ee8a=0x0;_0x36ee8a<_0x3b65fb[_0x599b8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36ee8a++){const _0x56124c=_0x3b65fb[_0x599b8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36ee8a);_0x47f106=(_0x47f106<<0x5)+_0x47f106+_0x56124c,_0x47f106&=_0x47f106;}}function _0x5c0955(_0x24cbb2){Array[_0x599b8b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24cbb2)?_0x24cbb2[_0x599b8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c0955):_0x24cbb2&&typeof _0x24cbb2==_0x599b8b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x599b8b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24cbb2)[_0x599b8b([0x73,0x6f,0x72,0x74])]()[_0x599b8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x308710,_0x1f5f6a])=>{_0x5b8791(_0x308710),_0x5c0955(_0x1f5f6a);}):_0x5b8791(window[_0x599b8b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24cbb2));}return _0x5c0955(_0x5cff6c),_0x47f106>>>0x0;}function _0x1f7e96(_0x4b442f){return _0x4b442f[_0x599b8b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x599b8b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x599b8b([0x30]));}function _0x36c896(_0x1a975a){return _0x1a975a[_0x599b8b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x599b8b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x599b8b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d7f46(){}function _0x599b8b(_0x5937fb){const _0xdba4b8=_0x2a2b;return _0x5937fb[_0xdba4b8(0x170)](_0x1584a9=>String[_0xdba4b8(0x149)](_0x1584a9))[_0xdba4b8(0x161)]('');}_0x468185(await _0x4211d9());}(this);}[_0x42ee35(0x176)](_0x2bdf39,_0x1738f8){const _0x5a0a6f=_0x42ee35;this[_0x5a0a6f(0x166)](_0x2bdf39,_0x1738f8)||_0x3c0390(_0x2bdf39,_0x1738f8);}[_0x42ee35(0x15e)](_0xe61564,_0xfae97e,_0x10ba32){const _0x3a7c30=_0x42ee35;!this[_0x3a7c30(0x166)](_0xe61564)&&(_0x10ba32&&(_0xfae97e+=_0x3a7c30(0x16d)+(_0x3a7c30(0x17e)+_0x10ba32)),console[_0x3a7c30(0x151)](_0xe61564,_0xfae97e));}[_0x42ee35(0x17d)](_0x4b0753,_0x20b643){const _0x7f0e77=_0x42ee35;this[_0x7f0e77(0x16c)][_0x7f0e77(0x165)][_0x7f0e77(0x156)](_0x4b0753)&&this[_0x7f0e77(0x176)](_0x7f0e77(0x15c),{'pluginName':_0x4b0753,..._0x20b643});}[_0x42ee35(0x16a)](_0x4f7f48){const _0x4292a0=_0x42ee35,_0x12fe8d=this[_0x4292a0(0x16c)][_0x4292a0(0x180)][_0x4292a0(0x171)](_0x4f7f48);if(!_0x12fe8d)return;const _0x4605ce=Array[_0x4292a0(0x162)](_0x12fe8d),_0x11a875=_0x4605ce?_0x12fe8d:[_0x12fe8d];for(const [_0x2fb229,_0x3ab492]of _0x11a875[_0x4292a0(0x155)]()){const _0x373dbd=_0x4292a0(0x17c)==typeof _0x3ab492?_0x3ab492:_0x3ab492[_0x4292a0(0x17a)];isUnsupportedEmailColorValue(_0x373dbd)&&this[_0x4292a0(0x176)](_0x4292a0(0x153),{'configPath':_0x4605ce?_0x4f7f48+'['+_0x2fb229+']':_0x4f7f48,'color':_0x373dbd});}}[_0x42ee35(0x148)](_0x201240){const _0xb2a6ad=_0x42ee35,_0x5c4c90=this[_0xb2a6ad(0x16c)][_0xb2a6ad(0x180)][_0xb2a6ad(0x171)](_0x201240);_0x5c4c90&&isUnsupportedEmailColorFormat(_0x5c4c90)&&this[_0xb2a6ad(0x176)](_0xb2a6ad(0x154),{'configPath':_0x201240,'format':_0x5c4c90});}[_0x42ee35(0x166)](_0x63f71c,_0x5de146){const _0x239487=_0x42ee35,_0x336bdc=this[_0x239487(0x16c)][_0x239487(0x180)][_0x239487(0x171)](_0x239487(0x159));return!!_0x336bdc[_0x239487(0x16f)]||(!(_0x239487(0x157)!=typeof _0x336bdc[_0x239487(0x168)]||!_0x336bdc[_0x239487(0x168)](_0x63f71c,_0x5de146))||!(!Array[_0x239487(0x162)](_0x336bdc[_0x239487(0x168)])||!_0x336bdc[_0x239487(0x168)][_0x239487(0x152)](_0x63f71c)));}}const k=[_0x42ee35(0x150),_0x42ee35(0x14d),_0x42ee35(0x175),_0x42ee35(0x15f),_0x42ee35(0x15a),_0x42ee35(0x16b),_0x42ee35(0x17b),_0x42ee35(0x169),_0x42ee35(0x14f)];export function isUnsupportedEmailColorValue(_0x21815c){const _0x558db8=_0x42ee35;return!!_0x21815c&&k[_0x558db8(0x14e)](_0x40b4f5=>_0x21815c[_0x558db8(0x152)](_0x40b4f5+'('));}export function isUnsupportedEmailColorFormat(_0x2c4641){const _0x55abf0=_0x42ee35;return!!_0x2c4641&&k[_0x55abf0(0x152)](_0x2c4641);}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/emailinlinestylestransformations
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { type ExportInlineStylesTransformation } from '@ckeditor/ckeditor5-export-inline-styles';
|
|
10
|
+
/**
|
|
11
|
+
* Returns a collection of style property transformations designed for email compatibility.
|
|
12
|
+
*
|
|
13
|
+
* These transformations convert modern CSS styles into HTML attributes better
|
|
14
|
+
* supported by email clients. The transformations focus on converting alignment-related
|
|
15
|
+
* CSS properties into corresponding HTML attributes.
|
|
16
|
+
*
|
|
17
|
+
* Examples of transformations:
|
|
18
|
+
*
|
|
19
|
+
* 1. Float to align:
|
|
20
|
+
* * `<img style="float: left">` → `<img align="left">`
|
|
21
|
+
*
|
|
22
|
+
* 2. Shorthand margin for centering:
|
|
23
|
+
* * `<table style="margin: auto"></table>` → `<table style="..." align="center"></table>`
|
|
24
|
+
* * `<table style="margin: 10px auto"></table>` → `<table style="..." align="center"></table>`
|
|
25
|
+
*
|
|
26
|
+
* Note:
|
|
27
|
+
*
|
|
28
|
+
* * The `align` attribute is only applied to the `table` and the `img` elements.
|
|
29
|
+
* * The `align` attribute is not applied to elements that already have it set.
|
|
30
|
+
* * The style attributes remain unchanged.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getEmailInlineStylesTransformations(): Array<ExportInlineStylesTransformation>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x584e23,_0xc23fca){const _0x1f9da9=_0x52a5,_0x336c14=_0x584e23();while(!![]){try{const _0x4929e1=parseInt(_0x1f9da9(0x92))/0x1+-parseInt(_0x1f9da9(0x91))/0x2+parseInt(_0x1f9da9(0x87))/0x3*(-parseInt(_0x1f9da9(0x8b))/0x4)+-parseInt(_0x1f9da9(0x9e))/0x5*(parseInt(_0x1f9da9(0x94))/0x6)+-parseInt(_0x1f9da9(0x8c))/0x7+-parseInt(_0x1f9da9(0x95))/0x8*(parseInt(_0x1f9da9(0x86))/0x9)+parseInt(_0x1f9da9(0x8f))/0xa*(parseInt(_0x1f9da9(0x98))/0xb);if(_0x4929e1===_0xc23fca)break;else _0x336c14['push'](_0x336c14['shift']());}catch(_0x373ae3){_0x336c14['push'](_0x336c14['shift']());}}}(_0x2cb2,0x23a0b));function _0x52a5(_0x5a31e3,_0x29fb12){const _0x2cb240=_0x2cb2();return _0x52a5=function(_0x52a580,_0xa03d02){_0x52a580=_0x52a580-0x86;let _0x5bf1bc=_0x2cb240[_0x52a580];return _0x5bf1bc;},_0x52a5(_0x5a31e3,_0x29fb12);}function _0x2cb2(){const _0x1f5c43=['98400EaXMAw','215876acuALv','auto','435282znXCrd','25264xUhhqX','setAttribute','left','583zTwnIo','TABLE','margin-left','right','tagName','align','5RmXbIf','810EWgOHF','202683IpTcdt','IMG','margin-right','center','4ffyJYA','308014PyDXDz','getAsString','float','84450GLbcKQ','includes'];_0x2cb2=function(){return _0x1f5c43;};return _0x2cb2();}import{dropImportantStyleSuffix as _0x1a3ab8}from'@ckeditor/ckeditor5-export-inline-styles';export function getEmailInlineStylesTransformations(){return[(_0x18ab3a,_0x8dead9)=>{const _0x4e5feb=_0x52a5;if(![_0x4e5feb(0x99),_0x4e5feb(0x88)][_0x4e5feb(0x90)](_0x18ab3a[_0x4e5feb(0x9c)]))return;const _0x1950e8=_0x8dead9[_0x4e5feb(0x8d)](_0x4e5feb(0x8e));if(_0x1950e8){const _0x1c7c34=_0x1a3ab8(_0x1950e8);_0x4e5feb(0x97)!==_0x1c7c34&&_0x4e5feb(0x9b)!==_0x1c7c34||_0x18ab3a[_0x4e5feb(0x96)](_0x4e5feb(0x9d),_0x1c7c34);}},(_0x452878,_0x51b8d2)=>{const _0x4fc5d5=_0x52a5;if(_0x4fc5d5(0x99)!==_0x452878[_0x4fc5d5(0x9c)])return;const _0x3bfc3c=_0x51b8d2[_0x4fc5d5(0x8d)](_0x4fc5d5(0x9a)),_0xee1240=_0x51b8d2[_0x4fc5d5(0x8d)](_0x4fc5d5(0x89));_0x3bfc3c&&_0xee1240&&_0x4fc5d5(0x93)===_0x1a3ab8(_0x3bfc3c)&&_0x4fc5d5(0x93)===_0x1a3ab8(_0xee1240)&&_0x452878[_0x4fc5d5(0x96)](_0x4fc5d5(0x9d),_0x4fc5d5(0x8a));}];}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email
|
|
7
|
+
*/
|
|
8
|
+
export { default as EmailConfigurationHelper } from './emailconfigurationhelper.js';
|
|
9
|
+
export { default as EmailConfigurationLogger } from './emailconfigurationlogger.js';
|
|
10
|
+
export { default as EmptyBlockEmailIntegration } from './integrations/emptyblock.js';
|
|
11
|
+
export { default as ExportInlineStylesEmailIntegration } from './integrations/exportinlinestyles.js';
|
|
12
|
+
export { default as FontEmailIntegration } from './integrations/font.js';
|
|
13
|
+
export { default as GeneralHtmlIntegrationSupport } from './integrations/generalhtmlintegration.js';
|
|
14
|
+
export { default as HighlightEmailIntegration } from './integrations/highlight.js';
|
|
15
|
+
export { default as ImageEmailIntegration } from './integrations/image.js';
|
|
16
|
+
export { default as ListEmailIntegration } from './integrations/list.js';
|
|
17
|
+
export { default as TableEmailIntegration } from './integrations/table.js';
|
|
18
|
+
export { default as MathTypeEmailIntegration } from './integrations/mathtype.js';
|
|
19
|
+
export { default as SourceEditingEmailIntegration } from './integrations/sourceediting.js';
|
|
20
|
+
export { default as MarkdownEmailIntegration } from './integrations/markdown.js';
|
|
21
|
+
export { getEmailInlineStylesTransformations } from './emailinlinestylestransformations.js';
|
|
22
|
+
import './augmentation.js';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x1f8167,_0x5aae71){var _0x89e05e=_0x358c,_0x50e0b7=_0x1f8167();while(!![]){try{var _0x4911a3=parseInt(_0x89e05e(0x1b4))/0x1+-parseInt(_0x89e05e(0x1b1))/0x2+-parseInt(_0x89e05e(0x1b0))/0x3+-parseInt(_0x89e05e(0x1b5))/0x4+parseInt(_0x89e05e(0x1b2))/0x5+parseInt(_0x89e05e(0x1b3))/0x6+parseInt(_0x89e05e(0x1af))/0x7;if(_0x4911a3===_0x5aae71)break;else _0x50e0b7['push'](_0x50e0b7['shift']());}catch(_0x484066){_0x50e0b7['push'](_0x50e0b7['shift']());}}}(_0x75fb,0x9e4cf));export{default as EmailConfigurationHelper}from'./emailconfigurationhelper.js';export{default as EmailConfigurationLogger}from'./emailconfigurationlogger.js';export{default as EmptyBlockEmailIntegration}from'./integrations/emptyblock.js';export{default as ExportInlineStylesEmailIntegration}from'./integrations/exportinlinestyles.js';export{default as FontEmailIntegration}from'./integrations/font.js';function _0x75fb(){var _0x24ccb8=['3025314ZrrJcA','1034592JVlgGI','4380288BrJzHa','10846444UdkLRp','3075045OKZAFq','1636752gVBqfF','2492795rzgLvs'];_0x75fb=function(){return _0x24ccb8;};return _0x75fb();}export{default as GeneralHtmlIntegrationSupport}from'./integrations/generalhtmlintegration.js';function _0x358c(_0xaba95,_0x108f0e){var _0x75fbf=_0x75fb();return _0x358c=function(_0x358c33,_0x36cd98){_0x358c33=_0x358c33-0x1af;var _0x2b58d9=_0x75fbf[_0x358c33];return _0x2b58d9;},_0x358c(_0xaba95,_0x108f0e);}export{default as HighlightEmailIntegration}from'./integrations/highlight.js';export{default as ImageEmailIntegration}from'./integrations/image.js';export{default as ListEmailIntegration}from'./integrations/list.js';export{default as TableEmailIntegration}from'./integrations/table.js';export{default as MathTypeEmailIntegration}from'./integrations/mathtype.js';export{default as SourceEditingEmailIntegration}from'./integrations/sourceediting.js';export{default as MarkdownEmailIntegration}from'./integrations/markdown.js';export{getEmailInlineStylesTransformations}from'./emailinlinestylestransformations.js';import'./augmentation.js';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/integrations/emptyblock
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that checks if the EmptyBlock plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class EmptyBlockEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "EmptyBlockEmailIntegration";
|
|
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;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x3238(){const _0x5bfd39=['112QQLSVb','1007816GYuQUW','email-configuration-missing-empty-block-plugin','EmptyBlockEmailIntegration','EmptyBlock','plugins','285492pkWvav','2793784Tscunv','features/email#empty-block-plugin','_logSuppressibleInfo','isPremiumPlugin','6662170MQjapq','get','256335eQafLk','3197142nMaPto','2216259YuIrEJ','afterInit','requires','33nKCrjR','isOfficialPlugin','2UDUAEs','64dAFRrl','has','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','editor','pluginName'];_0x3238=function(){return _0x5bfd39;};return _0x3238();}function _0x39c7(_0x5f05e8,_0xa34275){const _0x32380c=_0x3238();return _0x39c7=function(_0x39c722,_0x39f756){_0x39c722=_0x39c722-0x1aa;let _0x24ee6b=_0x32380c[_0x39c722];return _0x24ee6b;},_0x39c7(_0x5f05e8,_0xa34275);}const _0x308893=_0x39c7;(function(_0x3f5e6b,_0x28e7b2){const _0x4a52d4=_0x39c7,_0x5ae198=_0x3f5e6b();while(!![]){try{const _0x1f466a=parseInt(_0x4a52d4(0x1ab))/0x1+parseInt(_0x4a52d4(0x1be))/0x2*(parseInt(_0x4a52d4(0x1b9))/0x3)+parseInt(_0x4a52d4(0x1bf))/0x4*(parseInt(_0x4a52d4(0x1b7))/0x5)+parseInt(_0x4a52d4(0x1b0))/0x6*(-parseInt(_0x4a52d4(0x1aa))/0x7)+parseInt(_0x4a52d4(0x1b1))/0x8+parseInt(_0x4a52d4(0x1b8))/0x9+-parseInt(_0x4a52d4(0x1b5))/0xa*(parseInt(_0x4a52d4(0x1bc))/0xb);if(_0x1f466a===_0x28e7b2)break;else _0x5ae198['push'](_0x5ae198['shift']());}catch(_0x227e6f){_0x5ae198['push'](_0x5ae198['shift']());}}}(_0x3238,0x7cd6b));import{Plugin as _0x282a8a}from'ckeditor5/src/core.js';import _0x1fa5ae from'../emailconfigurationlogger.js';export default class l extends _0x282a8a{static get[_0x308893(0x1bb)](){return[_0x1fa5ae];}static get[_0x308893(0x1c3)](){const _0x41acdd=_0x308893;return _0x41acdd(0x1ad);}static get[_0x308893(0x1bd)](){return!0x0;}static get[_0x308893(0x1b4)](){return!0x0;}[_0x308893(0x1ba)](){const _0x358fbc=_0x308893,_0x56901a=this[_0x358fbc(0x1c2)][_0x358fbc(0x1af)][_0x358fbc(0x1b6)](_0x1fa5ae);this[_0x358fbc(0x1c2)][_0x358fbc(0x1af)][_0x358fbc(0x1c0)](_0x358fbc(0x1ae))||_0x56901a[_0x358fbc(0x1b3)](_0x358fbc(0x1ac),_0x358fbc(0x1c1),_0x358fbc(0x1b2));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/integrations/exportinlinestyles
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that checks if the ExportInlineStyles plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class ExportInlineStylesEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "ExportInlineStylesEmailIntegration";
|
|
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;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x34701c=_0x2a15;(function(_0x4a36d2,_0x35e983){const _0x281831=_0x2a15,_0x104ee0=_0x4a36d2();while(!![]){try{const _0x48c138=parseInt(_0x281831(0x1d9))/0x1*(-parseInt(_0x281831(0x1ed))/0x2)+parseInt(_0x281831(0x1db))/0x3+parseInt(_0x281831(0x1dd))/0x4*(-parseInt(_0x281831(0x1e8))/0x5)+-parseInt(_0x281831(0x1d8))/0x6+-parseInt(_0x281831(0x1de))/0x7+parseInt(_0x281831(0x1e4))/0x8+parseInt(_0x281831(0x1dc))/0x9*(parseInt(_0x281831(0x1e2))/0xa);if(_0x48c138===_0x35e983)break;else _0x104ee0['push'](_0x104ee0['shift']());}catch(_0x5d9f93){_0x104ee0['push'](_0x104ee0['shift']());}}}(_0x32aa,0x56f24));import{Plugin as _0x3c6435}from'ckeditor5/src/core.js';import _0x43b51d from'../emailconfigurationlogger.js';export default class x extends _0x3c6435{static get[_0x34701c(0x1ec)](){return[_0x43b51d];}static get[_0x34701c(0x1da)](){const _0x4af6a8=_0x34701c;return _0x4af6a8(0x1eb);}static get[_0x34701c(0x1df)](){return!0x0;}static get[_0x34701c(0x1e7)](){return!0x0;}[_0x34701c(0x1e1)](){const _0x85898b=_0x34701c,_0x574a18=this[_0x85898b(0x1ea)][_0x85898b(0x1e0)][_0x85898b(0x1e9)](_0x43b51d);this[_0x85898b(0x1ea)][_0x85898b(0x1e0)][_0x85898b(0x1e3)](_0x85898b(0x1e5))||_0x574a18[_0x85898b(0x1e6)](_0x85898b(0x1d7));}}function _0x2a15(_0xa0fdca,_0xb2edd7){const _0x32aa43=_0x32aa();return _0x2a15=function(_0x2a1521,_0x5d8fcf){_0x2a1521=_0x2a1521-0x1d7;let _0x5e5143=_0x32aa43[_0x2a1521];return _0x5e5143;},_0x2a15(_0xa0fdca,_0xb2edd7);}function _0x32aa(){const _0x30451a=['requires','938986RYvBOh','email-configuration-missing-export-inline-styles-plugin','3537834FmmxTY','1tCFUBH','pluginName','218478rBFuDO','1428723TqUUIP','86280CtIZug','2194472Hzjeep','isOfficialPlugin','plugins','afterInit','90eNQeeE','has','3888408LuyLim','ExportInlineStyles','_logSuppressibleWarning','isPremiumPlugin','60XLzJlI','get','editor','ExportInlineStylesEmailIntegration'];_0x32aa=function(){return _0x30451a;};return _0x32aa();}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/integrations/font
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that checks if the Font plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class FontEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "FontEmailIntegration";
|
|
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;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x40bdaf=_0x156b;function _0x3f46(){const _0x463b58=['fontBackgroundColor','FontBackgroundColorEditing','4QXtIYY','config','11431206zshEKM','_validateConfigColorFormat','fontColor','isOfficialPlugin','817077webLrf','requires','pluginName','get','afterInit','7272272BzsKwe','1693480IzqWuK','.colorPicker.format','has','_validateConfigColorValue','editor','4403230wpewrg','2798349lfwNZP','.documentColors','FontColorEditing','.colors','FontEmailIntegration','84awXVnH','plugins','357518zPrfDm','isPremiumPlugin','_checkColorConfig'];_0x3f46=function(){return _0x463b58;};return _0x3f46();}(function(_0x80da40,_0x1338c6){const _0xb6fd73=_0x156b,_0x56012f=_0x80da40();while(!![]){try{const _0x425c88=parseInt(_0xb6fd73(0x1b4))/0x1+parseInt(_0xb6fd73(0x1ba))/0x2+-parseInt(_0xb6fd73(0x1c0))/0x3*(-parseInt(_0xb6fd73(0x1ae))/0x4)+-parseInt(_0xb6fd73(0x1bf))/0x5+parseInt(_0xb6fd73(0x1a7))/0x6*(-parseInt(_0xb6fd73(0x1a9))/0x7)+parseInt(_0xb6fd73(0x1b9))/0x8+-parseInt(_0xb6fd73(0x1b0))/0x9;if(_0x425c88===_0x1338c6)break;else _0x56012f['push'](_0x56012f['shift']());}catch(_0x394eca){_0x56012f['push'](_0x56012f['shift']());}}}(_0x3f46,0x9c34a));import{Plugin as _0x5d51a4}from'ckeditor5/src/core.js';import _0x3729a0 from'../emailconfigurationlogger.js';function _0x156b(_0x13c640,_0x51f1e3){const _0x3f4615=_0x3f46();return _0x156b=function(_0x156b8b,_0x3a7ab5){_0x156b8b=_0x156b8b-0x1a4;let _0x2ab697=_0x3f4615[_0x156b8b];return _0x2ab697;},_0x156b(_0x13c640,_0x51f1e3);}export default class m extends _0x5d51a4{static get[_0x40bdaf(0x1b5)](){return[_0x3729a0];}static get[_0x40bdaf(0x1b6)](){const _0x353767=_0x40bdaf;return _0x353767(0x1a6);}static get[_0x40bdaf(0x1b3)](){return!0x0;}static get[_0x40bdaf(0x1aa)](){return!0x0;}[_0x40bdaf(0x1b8)](){const _0x333366=_0x40bdaf,{plugins:_0x5e0b3a}=this[_0x333366(0x1be)];_0x5e0b3a[_0x333366(0x1bc)](_0x333366(0x1a4))&&this[_0x333366(0x1ab)](_0x333366(0x1b2)),_0x5e0b3a[_0x333366(0x1bc)](_0x333366(0x1ad))&&this[_0x333366(0x1ab)](_0x333366(0x1ac));}[_0x40bdaf(0x1ab)](_0x3131e7){const _0x3019c5=_0x40bdaf,_0x198100=this[_0x3019c5(0x1be)][_0x3019c5(0x1a8)][_0x3019c5(0x1b7)](_0x3729a0);this[_0x3019c5(0x1be)][_0x3019c5(0x1af)][_0x3019c5(0x1b7)](_0x3131e7)&&(_0x198100[_0x3019c5(0x1bd)](_0x3131e7+_0x3019c5(0x1a5)),_0x198100[_0x3019c5(0x1bd)](_0x3131e7+_0x3019c5(0x1c1)),_0x198100[_0x3019c5(0x1b1)](_0x3131e7+_0x3019c5(0x1bb)));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/integrations/generalhtmlintegration
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* The plugin that warns about using unsupported HTML elements in the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class GeneralHtmlIntegrationSupport extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "GeneralHtmlIntegrationSupport";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
init(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x7ddd(){const _0x476327=['object','GeneralHtmlIntegrationSupport','has','input','button','isPremiumPlugin','iframe','9EMzXhh','output','116919HvovZu','main','details','192GyOXHF','progress','requires','2448UYRbJO','hgroup','once','10020OkNZih','audio','abbr','DataFilter','3634030REBwdV','meter','register:','UNSUPPORTED_ELEMENTS','get','email-unsupported-html-element','pluginName','12kRpazS','2485546VvNsOK','_logSuppressibleWarning','1010cyfaJS','editor','acronym','form','4443416DajnFB','10264MkCHKY','canvas','summary','init','bdi','isOfficialPlugin','nav','article','view','45969dFUAWl'];_0x7ddd=function(){return _0x476327;};return _0x7ddd();}const _0x2fb7d1=_0x478f;(function(_0x357532,_0x12c5d5){const _0x3730af=_0x478f,_0x42cc19=_0x357532();while(!![]){try{const _0x4212fe=-parseInt(_0x3730af(0xbb))/0x1+parseInt(_0x3730af(0xce))/0x2*(-parseInt(_0x3730af(0xc8))/0x3)+-parseInt(_0x3730af(0xb2))/0x4*(parseInt(_0x3730af(0xad))/0x5)+-parseInt(_0x3730af(0xaa))/0x6*(parseInt(_0x3730af(0xab))/0x7)+-parseInt(_0x3730af(0xb1))/0x8+parseInt(_0x3730af(0xc3))/0x9*(parseInt(_0x3730af(0xd2))/0xa)+parseInt(_0x3730af(0xc5))/0xb*(parseInt(_0x3730af(0xcb))/0xc);if(_0x4212fe===_0x12c5d5)break;else _0x42cc19['push'](_0x42cc19['shift']());}catch(_0x3f0f5a){_0x42cc19['push'](_0x42cc19['shift']());}}}(_0x7ddd,0x5d10b));import{Plugin as _0x37091e}from'ckeditor5/src/core.js';function _0x478f(_0x5df5d9,_0x20208d){const _0x7ddd0d=_0x7ddd();return _0x478f=function(_0x478fde,_0x4ff4d8){_0x478fde=_0x478fde-0xa6;let _0x21c39a=_0x7ddd0d[_0x478fde];return _0x21c39a;},_0x478f(_0x5df5d9,_0x20208d);}import _0x2cf032 from'../emailconfigurationlogger.js';class f extends _0x37091e{static [_0x2fb7d1(0xa6)]=new Set([_0x2fb7d1(0xbc),_0x2fb7d1(0xb9),_0x2fb7d1(0xc7),_0x2fb7d1(0xc6),_0x2fb7d1(0xb8),_0x2fb7d1(0xb4),_0x2fb7d1(0xd0),_0x2fb7d1(0xaf),_0x2fb7d1(0xb6),_0x2fb7d1(0xc4),_0x2fb7d1(0xcc),_0x2fb7d1(0xb0),_0x2fb7d1(0xbf),_0x2fb7d1(0xc0),_0x2fb7d1(0xcf),_0x2fb7d1(0xb3),_0x2fb7d1(0xd3),_0x2fb7d1(0xc9),_0x2fb7d1(0xc2)]);static get[_0x2fb7d1(0xca)](){return[_0x2cf032];}static get[_0x2fb7d1(0xa9)](){const _0x22034c=_0x2fb7d1;return _0x22034c(0xbd);}static get[_0x2fb7d1(0xb7)](){return!0x0;}static get[_0x2fb7d1(0xc1)](){return!0x0;}[_0x2fb7d1(0xb5)](){const _0x590e7f=_0x2fb7d1,{plugins:_0x1f78bc}=this[_0x590e7f(0xae)];if(!_0x1f78bc[_0x590e7f(0xbe)](_0x590e7f(0xd1)))return;const _0x189c51=_0x1f78bc[_0x590e7f(0xa7)](_0x590e7f(0xd1)),_0x1dccf7=_0x1f78bc[_0x590e7f(0xa7)](_0x2cf032);for(const _0x30687f of f[_0x590e7f(0xa6)])_0x189c51[_0x590e7f(0xcd)](_0x590e7f(0xd4)+_0x30687f,(_0x44b4a4,_0x18b782)=>{const _0x504416=_0x590e7f;_0x1dccf7[_0x504416(0xac)](_0x504416(0xa8),{'element':_0x18b782[_0x504416(0xba)]});});}}export default f;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/integrations/highlight
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that warns about using Highlight plugin in the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class HighlightEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "HighlightEmailIntegration";
|
|
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;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x4bb651=_0x279d;(function(_0x144a8a,_0x10fb5c){var _0x4ec05e=_0x279d,_0x17efd7=_0x144a8a();while(!![]){try{var _0x5c98c5=-parseInt(_0x4ec05e(0xfd))/0x1*(-parseInt(_0x4ec05e(0xfe))/0x2)+-parseInt(_0x4ec05e(0xf7))/0x3+parseInt(_0x4ec05e(0xf1))/0x4+parseInt(_0x4ec05e(0xff))/0x5+-parseInt(_0x4ec05e(0xf9))/0x6+parseInt(_0x4ec05e(0x103))/0x7*(parseInt(_0x4ec05e(0xfa))/0x8)+-parseInt(_0x4ec05e(0xf8))/0x9;if(_0x5c98c5===_0x10fb5c)break;else _0x17efd7['push'](_0x17efd7['shift']());}catch(_0x23b7d7){_0x17efd7['push'](_0x17efd7['shift']());}}}(_0x3ca3,0x6b253));function _0x279d(_0x45f41f,_0x33a208){var _0x3ca39e=_0x3ca3();return _0x279d=function(_0x279da8,_0x5d7d64){_0x279da8=_0x279da8-0xf0;var _0x1cd162=_0x3ca39e[_0x279da8];return _0x1cd162;},_0x279d(_0x45f41f,_0x33a208);}import{Plugin as _0x2de312}from'ckeditor5/src/core.js';import _0x102c06 from'../emailconfigurationlogger.js';function _0x3ca3(){var _0x5b2122=['706SSOKBc','2705165kuuZAT','_checkUnsupportedPlugin','HighlightEmailIntegration','editor','245AVVRCg','get','1102140zaMZRA','plugins','isOfficialPlugin','requires','isPremiumPlugin','afterInit','132033fhDctB','12396393PJRyFB','1195356wUTHIB','90368YiTRTZ','pluginName','Highlight','2401bnkyxl'];_0x3ca3=function(){return _0x5b2122;};return _0x3ca3();}export default class e extends _0x2de312{static get[_0x4bb651(0xf4)](){return[_0x102c06];}static get[_0x4bb651(0xfb)](){var _0x18e269=_0x4bb651;return _0x18e269(0x101);}static get[_0x4bb651(0xf3)](){return!0x0;}static get[_0x4bb651(0xf5)](){return!0x0;}[_0x4bb651(0xf6)](){var _0x4d22b6=_0x4bb651;this[_0x4d22b6(0x102)][_0x4d22b6(0xf2)][_0x4d22b6(0xf0)](_0x102c06)[_0x4d22b6(0x100)](_0x4d22b6(0xfc));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module email/integrations/image
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that warns about using ImageBlock plugin in the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class ImageEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "ImageEmailIntegration";
|
|
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;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x17449d=_0x1ea2;(function(_0x303008,_0x2894fb){var _0x305e44=_0x1ea2,_0x35e776=_0x303008();while(!![]){try{var _0xb119b9=-parseInt(_0x305e44(0x1a3))/0x1+parseInt(_0x305e44(0x1ac))/0x2*(-parseInt(_0x305e44(0x1ab))/0x3)+-parseInt(_0x305e44(0x199))/0x4+-parseInt(_0x305e44(0x19c))/0x5+-parseInt(_0x305e44(0x19a))/0x6+parseInt(_0x305e44(0x19b))/0x7*(-parseInt(_0x305e44(0x1a4))/0x8)+parseInt(_0x305e44(0x1a7))/0x9;if(_0xb119b9===_0x2894fb)break;else _0x35e776['push'](_0x35e776['shift']());}catch(_0x3e7135){_0x35e776['push'](_0x35e776['shift']());}}}(_0xeafe,0x3d454));function _0x1ea2(_0x39c882,_0x33c4c3){var _0xeafe64=_0xeafe();return _0x1ea2=function(_0x1ea23c,_0x4209ae){_0x1ea23c=_0x1ea23c-0x199;var _0x2ba3b6=_0xeafe64[_0x1ea23c];return _0x2ba3b6;},_0x1ea2(_0x39c882,_0x33c4c3);}function _0xeafe(){var _0x3cd07f=['ImageBlock','ImageEmailIntegration','510zQBbGM','412LJWryD','1411012lqsZOr','168498oDMCCr','7mVGSBE','742565QmnXML','isOfficialPlugin','afterInit','_checkUnsupportedPlugin','isPremiumPlugin','pluginName','get','18356IGHXMD','1911944iebhBJ','plugins','requires','9654138VwOBbr','editor'];_0xeafe=function(){return _0x3cd07f;};return _0xeafe();}import{Plugin as _0x3c7b0a}from'ckeditor5/src/core.js';import _0x2f6c93 from'../emailconfigurationlogger.js';export default class r extends _0x3c7b0a{static get[_0x17449d(0x1a6)](){return[_0x2f6c93];}static get[_0x17449d(0x1a1)](){var _0x4dd875=_0x17449d;return _0x4dd875(0x1aa);}static get[_0x17449d(0x19d)](){return!0x0;}static get[_0x17449d(0x1a0)](){return!0x0;}[_0x17449d(0x19e)](){var _0xd1ee7d=_0x17449d;this[_0xd1ee7d(0x1a8)][_0xd1ee7d(0x1a5)][_0xd1ee7d(0x1a2)](_0x2f6c93)[_0xd1ee7d(0x19f)](_0xd1ee7d(0x1a9));}}
|