@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250129.1 → 0.0.0-nightly-20250131.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/build/source-editing-enhanced.js +1 -1
- package/ckeditor5-metadata.json +2 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/index.js +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dadcd=_0x3bf5;(function(_0x420ea9,_0x767540){const _0x3197e1=_0x3bf5,_0x1e4b6=_0x420ea9();while(!![]){try{const _0x701f9e=parseInt(_0x3197e1(0x112))/0x1*(-parseInt(_0x3197e1(0x107))/0x2)+-parseInt(_0x3197e1(0x106))/0x3*(-parseInt(_0x3197e1(0x109))/0x4)+parseInt(_0x3197e1(0x13a))/0x5*(parseInt(_0x3197e1(0x11c))/0x6)+-parseInt(_0x3197e1(0x119))/0x7*(-parseInt(_0x3197e1(0x134))/0x8)+parseInt(_0x3197e1(0x11a))/0x9*(-parseInt(_0x3197e1(0x118))/0xa)+parseInt(_0x3197e1(0x125))/0xb+-parseInt(_0x3197e1(0x13d))/0xc;if(_0x701f9e===_0x767540)break;else _0x1e4b6['push'](_0x1e4b6['shift']());}catch(_0x11e9a3){_0x1e4b6['push'](_0x1e4b6['shift']());}}}(_0x17a8,0x72587));export function formatSource(_0x1d0238){return $(_0x1d0238)?formatHtml(_0x1d0238):_0x1d0238;}export function unformatSource(_0x1bdd8c){const _0x5d8766=_0x3bf5;return $(_0x1bdd8c[_0x5d8766(0x113)](/^[\n\s]*/g,''))?_0x1bdd8c[_0x5d8766(0x113)](/\s+/g,''):_0x1bdd8c;}function _0x3bf5(_0x420317,_0x471a95){const _0x17a8d3=_0x17a8();return _0x3bf5=function(_0x3bf512,_0x78117a){_0x3bf512=_0x3bf512-0x106;let _0x2da5d8=_0x17a8d3[_0x3bf512];return _0x2da5d8;},_0x3bf5(_0x420317,_0x471a95);}export function formatHtml(_0x37ca71){const _0x57efc8=_0x3bf5,_0x1badc6=[{'name':_0x57efc8(0x10d),'isVoid':!0x1},{'name':_0x57efc8(0x128),'isVoid':!0x1},{'name':_0x57efc8(0x126),'isVoid':!0x1},{'name':_0x57efc8(0x137),'isVoid':!0x1},{'name':_0x57efc8(0x135),'isVoid':!0x1},{'name':_0x57efc8(0x124),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x57efc8(0x114),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x57efc8(0x10f),'isVoid':!0x1},{'name':_0x57efc8(0x12e),'isVoid':!0x1},{'name':_0x57efc8(0x10c),'isVoid':!0x1},{'name':_0x57efc8(0x123),'isVoid':!0x1},{'name':_0x57efc8(0x12d),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0x57efc8(0x115),'isVoid':!0x1},{'name':_0x57efc8(0x12a),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x57efc8(0x11d),'isVoid':!0x1},{'name':_0x57efc8(0x120),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x57efc8(0x108),'isVoid':!0x1},{'name':_0x57efc8(0x11b),'isVoid':!0x1},{'name':_0x57efc8(0x122),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x57efc8(0x139),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x42f6c6=_0x1badc6[_0x57efc8(0x12f)](_0x12248b=>_0x12248b[_0x57efc8(0x10e)])[_0x57efc8(0x130)]('|'),_0x58172b=_0x37ca71[_0x57efc8(0x113)](new RegExp(_0x57efc8(0x11f)+_0x42f6c6+_0x57efc8(0x111),'g'),_0x57efc8(0x136))[_0x57efc8(0x113)](/<br[^>]*>/g,_0x57efc8(0x13c))[_0x57efc8(0x116)]('\x0a');let _0x4cc0b3=0x0,_0x4eb784=!0x1;return _0x58172b[_0x57efc8(0x10b)](_0x5dedc2=>_0x5dedc2[_0x57efc8(0x133)])[_0x57efc8(0x12f)](_0x324f21=>(_0x4eb784=function(_0x49c584,_0x2b69c9){const _0x12be35=_0x57efc8;return new RegExp(_0x12be35(0x11e))[_0x12be35(0x121)](_0x49c584)?_0x12be35(0x12b):new RegExp(_0x12be35(0x10a))[_0x12be35(0x121)](_0x49c584)?_0x12be35(0x117):(_0x12be35(0x12b)===_0x2b69c9||_0x12be35(0x110)===_0x2b69c9)&&_0x12be35(0x110);}(_0x324f21,_0x4eb784),function(_0x4251d1,_0x33f5e0){const _0x3af206=_0x57efc8;return _0x33f5e0[_0x3af206(0x129)](_0x16646b=>!_0x16646b[_0x3af206(0x138)]&&!!new RegExp('<'+_0x16646b[_0x3af206(0x10e)]+_0x3af206(0x131))[_0x3af206(0x121)](_0x4251d1));}(_0x324f21,_0x1badc6)?X(_0x324f21,_0x4cc0b3++):function(_0x138cc4,_0x4b9ea2){const _0x2db8d7=_0x57efc8;return _0x4b9ea2[_0x2db8d7(0x129)](_0x2af6c8=>new RegExp('</'+_0x2af6c8[_0x2db8d7(0x10e)]+'>')[_0x2db8d7(0x121)](_0x138cc4));}(_0x324f21,_0x1badc6)?X(_0x324f21,--_0x4cc0b3):_0x57efc8(0x110)===_0x4eb784||_0x57efc8(0x117)===_0x4eb784?_0x324f21:X(_0x324f21,_0x4cc0b3)))[_0x57efc8(0x130)]('\x0a');}function _0x17a8(){const _0x1aad16=['first','\x20\x20\x20\x20','form','figcaption','map','join','(\x20.*?)?>','repeat','length','3169328QICysx','details','\x0a$&\x0a','blockquote','isVoid','thead','1811100fDFfgV','startsWith','$&\x0a','2902044asytxX','30639QpdJNj','1394696EekfgF','section','188EMbvpR','</pre>','filter','figure','address','name','fieldset','middle',')(\x20.*?)?>','1UfWQXk','replace','div','header','split','last','1290wvViKi','7GJQDXb','14373TqnUoD','table','6rmZgXj','main','<pre(\x20.*?)?>','</?(','nav','test','tbody','footer','dialog','4126760HjuUwU','aside','max','article','some','hgroup'];_0x17a8=function(){return _0x1aad16;};return _0x17a8();}function $(_0x28a268){const _0x131b29=_0x3bf5;return _0x28a268[_0x131b29(0x13b)]('<');}function X(_0x16de83,_0x4bc279,_0x4cdf19=_0x1dadcd(0x12c)){const _0x4a6e2b=_0x1dadcd;return''+_0x4cdf19[_0x4a6e2b(0x132)](Math[_0x4a6e2b(0x127)](0x0,_0x4bc279))+_0x16de83;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x173521,_0x2de6a8){const _0x2f1d11=_0xf3a0,_0x29c61e=_0x173521();while(!![]){try{const _0x5f0548=parseInt(_0x2f1d11(0x8a))/0x1*(parseInt(_0x2f1d11(0x8b))/0x2)+parseInt(_0x2f1d11(0x89))/0x3*(-parseInt(_0x2f1d11(0x8f))/0x4)+parseInt(_0x2f1d11(0x9a))/0x5+-parseInt(_0x2f1d11(0x98))/0x6*(-parseInt(_0x2f1d11(0x86))/0x7)+-parseInt(_0x2f1d11(0x8e))/0x8*(parseInt(_0x2f1d11(0x92))/0x9)+parseInt(_0x2f1d11(0x87))/0xa+parseInt(_0x2f1d11(0x88))/0xb*(-parseInt(_0x2f1d11(0x93))/0xc);if(_0x5f0548===_0x2de6a8)break;else _0x29c61e['push'](_0x29c61e['shift']());}catch(_0x34ae5e){_0x29c61e['push'](_0x29c61e['shift']());}}}(_0x1881,0x9c316));function _0xf3a0(_0x1f7000,_0x2a3c8f){const _0x1881d5=_0x1881();return _0xf3a0=function(_0xf3a0bb,_0x5b4ed7){_0xf3a0bb=_0xf3a0bb-0x84;let _0x33e420=_0x1881d5[_0xf3a0bb];return _0x33e420;},_0xf3a0(_0x1f7000,_0x2a3c8f);}import{CKEditorError as _0x4684aa}from'ckeditor5/src/utils.js';function _0x1881(){const _0x40b1f8=['roots','view','675smWRMm','12pPkKZm','document','rootName','source-editing-enhanced-editor-no-root','selection','434040RYyYcj','from','6113595TXxdpu','root','editing','length','70EkSELI','9977530SKdlkL','14578729NZuDWt','3DqbItN','8131OanVnt','180AZcudc','first','getRanges','110216UWynTB','2709128UxXrOK'];_0x1881=function(){return _0x40b1f8;};return _0x1881();}export function getActiveRootName(_0x2a2f6a){const _0x3ce46e=_0xf3a0,_0x427a89=_0x2a2f6a[_0x3ce46e(0x84)][_0x3ce46e(0x91)][_0x3ce46e(0x94)][_0x3ce46e(0x90)],_0x3bc089=_0x427a89[_0x3ce46e(0x85)];if(0x0===_0x3bc089)throw new _0x4684aa(_0x3ce46e(0x96),_0x2a2f6a);if(0x1===_0x3bc089)return _0x427a89[_0x3ce46e(0x8c)][_0x3ce46e(0x95)];return Array[_0x3ce46e(0x99)](_0x2a2f6a[_0x3ce46e(0x84)][_0x3ce46e(0x91)][_0x3ce46e(0x94)][_0x3ce46e(0x97)][_0x3ce46e(0x8d)]())[0x0][_0x3ce46e(0x9b)][_0x3ce46e(0x95)];}
|